Quantcast
Channel: Nginx Forum - How to...
Browsing all 4759 articles
Browse latest View live
↧

Re: LAN-only Reverse proxy with made-up host/domain names

For anyone having the same issue, I fixed it by changing from pihole1.lan to pihole1.internal.lan and then having *.internal.lan redirect to my NginX IP address (I did that through an Unbound override...

View Article


NGINX DSCP marking

Folks, I have a question about marking packets on our NGINX platforms. The traffic that I'll be talking about below is all on our internal WAN, so DSCP marking is what we're looking for. Our WAN...

View Article


Re: Changing Root Directory

I didn't show information enough. /etc/nginx/nginx.conf is below. $ cat /etc/nginx/nginx.conf # For more information on configuration, see: # * Official English Documentation: http://nginx.org/en/docs/...

View Article

Re: Changing Root Directory

location /data/ { root /home/data; Becomes /home/data/data

View Article

Nginx - 405 not allowed on POST

0 So i have a web site hosted on my server and it has a login page. When i try to log in to my web app, I'm getting status code 405 Not Allowed. After some research i found a solution to add error_page...

View Article


Nginx reverse proxy setup zabbix white site

Hello, i try to reach my zabbix server behind a nginx reverse proxy. Login Screen is loading, but after login i get a blank white site. nginx reverse proxy setup: External address:...

View Article

Re: Nginx reverse proxy setup zabbix white site

location /monitor/ { proxy_pass http://ip/monitor/; Becomes: http://ip/monitor/monitor

View Article

Debian Linux Nginx web server.

Have downloaded and installed the Nginx web server on my Debian version 9 ( Stretch ) Linux virtual machine. Initially, after typing in the following command, I received an error message that the web...

View Article


Re: Nginx reverse proxy setup zabbix white site

I followed this documentation: https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/ and /monitor/ ist replaced with http://ip/monitor/ thats correct, i get the login page and not 404. But...

View Article


Nginx conditional proxy pass

I have 2 different ( Node & Angular ) applications running under a domain. I am trying to configure nginx in way to serve like, whenever anyone access "domain.com" it should serve the node app...

View Article

Re: Nginx conditional proxy pass

Swap the Location blocks around.

View Article

Re: Nginx conditional proxy pass

Thank you for the suggestion. I've tried changing the priority of blocks by moving the "/admin" block to up but no luck. Still getting the same error. It's trying to connect with the port number....

View Article

Re: Nginx conditional proxy pass

Have a look in the backend logs as 'Connection refused' is a thing from the backend.

View Article


Re: Nginx conditional proxy pass

Hi, What I am trying to achieve is whenever someone access domain.com/admin it should load " "http://127.0.0.1/index.html" instead of "http://127.0.0.1:4200/index.html". Port 4200 is to serve from the...

View Article

Re: Nginx conditional proxy pass

What about; location /admin/ {

View Article


Re: Nginx conditional proxy pass

No luck. Still the same error.

View Article

configure syntax for a Dockerfile and secure_link_module

I need to install http_secure_link_module in a container. What would be the syntax for a Dockerfile? Also, can I have the secure link be the web root? Thanks!

View Article


Url

hi all, i want to rewrite this url http://172.22.80.31/cgi-bin/awstats.pl?config=ct.ingv.it in a new url that is of the type 172.22.80.31/statistiche how can I do? Thanks

View Article

Logs in zulu time format

How can I set the NGINX error logs and access logs in zulu time format .i.e with trailing z. e.g. 1985-04-12T23:20:50.52Z Please guide.

View Article

access log if in location on windows nginx not work

Hi,I config condition access log below: http { include mime.types; default_type application/octet-stream; #log_format main '$remote_addr - $remote_user [$time_local] "$request" ' # '$status...

View Article
Browsing all 4759 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>