Open gabbah123 opened 1 year ago
I don't know why you're modifying the szurubooru frontend nginx config, leave it be and create a new nginx config file on your operating system. I've a feeling you've mixed the two up.
Expose szurubooru to a non 80 port (and firewall it if you want) then set up your own nginx instance as a reverse proxy to point a subdomain or folder to szurubooru. If you aren't hosting other services or websites then expose it on port 80 directly.
Tried following the INSTALL.md instructions to set up my nginx.config file and .env file for proxy pass to use szurubooru on a production environment and removing the port from the domain to access, can't get past ERR_CONNECTION_REFUSED errors every time I try to access the domain name/IP with the updated settings.
.env
client/nginx.conf.docker (using the default one, just added the proxy_pass settings)