subdomain tell me what I did wrong?
-
If I remember correctly using
0.0.0.0
worked for my remote proxy's -
This might not be a direct answer to your problem, but did you ever considered to use NGINX?
If not drop me a message, I would greatly assist you to try it out
-
@julian said:
You've followed the guides shown here, right? https://docs.nodebb.org/en/latest/configuring/proxies.html
Other than that I cannot help as my experience lies with nginx as well
yup Apache 2.4 >.<
-
I switched to Nginx 1.6.x and following the reverse proxy for nginx. Doesn't show me where to put the config listed. My conf.d folder is empty
-
@Defaultuser you can create a file named default.conf in conf.d folder and add your config to it.
-
I added a default.conf and put in there. Doesn't work
server {
listen 80;server_name forum.mydomain.com; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_pass http://127.0.0.1:4567/; proxy_redirect off; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; }
}
-
@Defaultuser did you restart nginx?
-
I did restart it. Guess it took time because it works now! Thanks everyone. Also thumbs up on the nginx recommendation!