Thanx for trying to solve it ... I got a solution. 1. Nginx works straight forward, but it have default values for "error_page". Default for the 40x errors are not "none" (like in the docu) it's of course an internal error page like error_page 401 403 404 /40x.html location /40x.html { internal; } Default for the 50x errors are "none" - means do nothing, pby TitusX - How to...
I didn't use a path information at "valid_referers" and it works. T.by TitusX - How to...
In my opinion you have to ask a javascript freak. It's mainly not a proxy/reverse proxy thing. The problem is that the second browser isn't aware of the requests of the original one. He get answers without asking a question. Therefore you need something one the client side to simulate the request. And you need something on the server side to forward the requests of one single client to this scriptby TitusX - How to...
What about https://github.com/simpl/ngx_http_set_hash ? Okay you have to recompile your stuff, but this should do the job. T.by TitusX - How to...
I don't unterstand the problem ... Are there file names with extension in the "args" and you want to remove extentsion from within an argument ? I'm not shure but try to match the "location" with something like "location ~ (.*).php" then you can use $1 "in try_files". T.by TitusX - How to...
In my opinion you shouldn't use the keywords "permanent" (301) or "redirect" (302) to rewrite internaly. T.by TitusX - How to...
I know it's maybe not what you want, but I use rsyslog for this. There's filewatcher and then you can put it wherever you want (in our case to a central syslog-server, and he puts it into a mysql db). T.by TitusX - How to...
You can try to "proxy_pass" the javascript ...but a. you have to adjust the html content, because the client get it from your (ssl enabled) server b. you should maybe check expire/caching/compression. T.by TitusX - How to...
Try: location ~ ^/nagios/(.*\.php)$ { # if it works you can adjust the matching, because you don't need the result alias /opt/nagios/share; # should be in my opinion a folder, because nginx splits not the filename with alias include /etc/nginx/fastcgi.conf; fastcgi_pass unix:/var/run/fcgiwrap.socket; } T.by TitusX - How to...
For upload uri's adjust "1m" (MByte) to the value you need: client_max_body_size 1m; If you have long running apps (like reports) you maybe need more than "60" seconds to answer: send_timeout 60; <- if you use proxy_pass T.by TitusX - How to...
Hi there, We are using a very complex setting of nginx for offloading ssl and dispatching urls to different backends. In our global config we override the error pages. This is okay for all backends bur one - a SOAP service. This service needs the unchanged errors. The question is: Is there a way to set the "error_page" back to trhe internal error pages. http { ... errby TitusX - How to...
![]() |
![]() |
![]() |
![]() |
|