Back

[SOLVED] OpenLiteSpeed/Apache2 Reverse Proxy Setup

  • 1
  • Self Hosted
safwan
8 Aug, 2023, 10:49

This video will help

TL;DR
The individual is experiencing issues with setting up OpenLiteSpeed/Apache2 Reverse Proxy. They ask for help with their `APP_DOMAIN_*` environment variables and mention using traefik as their proxy. They are unsure why the setup is not working and are looking for ideas and solutions. The problem ended up being that the headers were not forwarded and there was an error in the traefik process. The user also mentions trying to backup and restore files, using the appwrite cli and performing `appwrite deploy` for each project. The solution provided was to watch a video that would help with the backup/restore process.
safwan
8 Aug, 2023, 10:49

It could be that something was missed when copying over files, im not sure

ZachHandley
8 Aug, 2023, 10:49

well

ZachHandley
8 Aug, 2023, 10:49

I did Appwrite login via the CLI

ZachHandley
8 Aug, 2023, 10:50

and backed up the databases/collections then

ZachHandley
8 Aug, 2023, 10:50

did appwrite deploy for each project

safwan
8 Aug, 2023, 10:52

I'm not sure if the appwrite cli backup methods are the same. Again, I have only used the above video as a reference for backup/restore, so I could be wrong

safwan
8 Aug, 2023, 10:52

But it seems like something might have gone wrong when you copied files

ZachHandley
8 Aug, 2023, 10:53

hm

ZachHandley
8 Aug, 2023, 11:05

okay I foundthis error in traefik process the router appwrite_realtime_wss@docker uses a non-existent resolver: dns

ZachHandley
8 Aug, 2023, 11:10

oh I didn't forward any of the headers

ZachHandley
8 Aug, 2023, 11:22

okay no idea

ZachHandley
8 Aug, 2023, 11:22

I backed up and restored and it still doesn't work

ZachHandley
8 Aug, 2023, 11:24

I can't find anything in any of the logs either

ZachHandley
8 Aug, 2023, 11:44

open to any ideas

ZachHandley
8 Aug, 2023, 11:51

I'll make a new post

safwan
8 Aug, 2023, 11:56

trying to figure out why this is happening.

safwan
8 Aug, 2023, 11:56

sure!

D5
8 Aug, 2023, 12:11

Did you have setup traefik to trut your proxy?

D5
8 Aug, 2023, 12:12

@ZachHandley

ZachHandley
8 Aug, 2023, 12:48

I am unsure tbh

Drake
8 Aug, 2023, 15:49

what do you have as your APP_DOMAIN_* environment variables in your .env file?

ZachHandley
8 Aug, 2023, 15:52
ZachHandley
8 Aug, 2023, 15:52

cause this one I managed to fix

safwan
9 Aug, 2023, 08:13

[SOLVED] OpenLiteSpeed/Apache2 Reverse Proxy Setup

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more