Open palomnik opened 2 years ago
I was missing some of the site conf for the nginx proxy server. All the pages load correctly, but I cannot load http://site.com/wp-admin.
More info - all pages work, but I cannot login.
All pages on https://dev1.jshypertext.com work, except, If I go to https://dev1.jshypertext.com/wp-admin, it returns with a 404, having tried to load:
The site is running on a docker container at http://localhost:8008
This is what is in my site.conf for the proxy location:
location / { proxy_pass http://localhost:3000/; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host:$server_port; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_redirect off; }
From:
“Roll your own Ngrok with Nginx, Letsencrypt, and SSH reverse tunnelling”.
I got it working, but WP pages do not render. Normally, with something like localtunnel I have to change the URL In WP and then it works. This I could not get to work.