Show all posts by user
Discussions in Russian
Page 1 of 1 Pages: 1
Results 1 - 4 of 4
Greetings,
I'm currently struggling to correctly proxy to an app on another server using nginx.
However I have an issue where as the proxy does not fully work and I get a 404 error from the other server,
This is my current nginx config for this specific case:
```
include includes/lb-realIPs.conf;
map $http_upgrade $connection_upgrade {
default upgrade;
''
by
DeadalusHD
-
How to...
nginx is able to restart again but...
Well but now my 404 Page is not working anymore =(
GNU nano 2.2.6 File: /etc/nginx/includes/error-pages.conf
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
error_page 404 = @fallback;
location @fallback {
rewrite ^ /404$1;
proxy_pass https://aebian.org;
}
by
DeadalusHD
-
How to...
Hi I got this error:
nginx: "proxy_pass" cannot have URI part in location given by regular expression, or inside named location, or inside "if" statement, or inside "limit_except" block in /etc/nginx/includes/error-pages.conf:7
My /error-pages.conf:
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
error_pa
by
DeadalusHD
-
How to...
My goal is to have one file that:
- redirect to the favicon
- redirect to the php5-cgi stuff
- redircet to the error pages
- and so one
So I don't need to enter that in every vhost file for subdomains and stuff ^^
Is there a way to do this?
by
DeadalusHD
-
How to...