How to set custom 500 error page when get: rewrite or internal redirection...
Example nginx config /etc/nginx/conf.d/errorpagestest.conf server { listen 80; server_name errorstage.test; error_log /var/log/nginx/errorstage.log warn; access_log /var/log/nginx/errorstage-access.log...
View ArticleRe: How to keep Nginx from maxing out on Disk Space?
I think I've solved my problem, and would like to share it with others here since I haven't seen this recommended amongst the Nginx community. I shared this thread over on the r/nginx subreddit:...
View ArticleDon't work reverse-proxy with ssl
I put the RocketChat, it's OK. I make a config for nginx (on the other server), for Http, everything is okay, works. Made a config for SSL (by manual, or rather a copy of paste, from the dock RC), not...
View ArticleNginx Reverse proxy -Aws elastic search - Not working
Hello, Greetings I have 2 Aws elasticsearch domains (test/prod). i need to access both kibana dashboard using single nginx reverse proxy server. can any please help me with nginx config file and steps....
View ArticleForce chunk transfer enconding in NGINX for proxied responses
I've got an upstream that sends back responses in "applicaion/json" format. NGINX is used as a reverse proxy in my project. However, I have a hard requirement that client applications only accept the...
View ArticleDockerized Nginx not forwarding to Dockerized Gunicorn
I am successfully running my Django web application using Gunicorn inside a docker container. This is running on a Ubuntu 16.04.6 system. What I am trying to do is have Nginx (running inside a Docker...
View ArticleNginx serverblock for subdomain not working
Hey guys, I see no option for adding code blocks so sorry for the code not looking pritty! :( I tried to follow some tutorials (and posts) on how to add a subdomain to nginx but unfortunately I am...
View ArticleRTMP stream keys out of sync
I've looked for an answer to this, admittedly I'm kind of new to all of this so maybe I'm just not searching for the right keywords. I've got a setup where I'd like to use multiple cell phones as RTMP...
View ArticleNeed some help please converting htaccess to Nginx Rewrite
so I'm trying to convert this Apache .htaccess to Nginx, I already tried with online converters but the news, list, video, music, polls and quiz sections are working they give 404 here the Apache...
View ArticleUpstream server stickiness for clients when loadbalancing different...
Greetings, Thanks for reading. I have an application that needs to be reverse proxied & load balanced The reverse proxying was achieved quite easily but iam not sure how the load balacing will work...
View ArticleRe: Need some help please converting htaccess to Nginx Rewrite
sorry posted it twice I hadnĀ“t sleep for too long here the correct pache htaccess need to convert RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^$...
View ArticleDefault vhost with HTTPS
I have a setup with several vhosts, and currently if someone connects directly to ip or with a random Host header they will get sent to the first alphabetical vhost. I'm trying to set it up so that I...
View ArticleRe: Dockerized Nginx not forwarding to Dockerized Gunicorn
It appears as if my ngix.conf file is not being found. When I delete it, I get the same response "Welcome to nginx..."
View ArticleReverse Proxy Root Not Working
I have a reverse proxy setup that works great, as long as there's something after the root URL. Meaning, if I go to "http://mail.mydomain.com:4400/login_here" it works fine. If I attempt to go to...
View ArticleRe: Dockerized Nginx not forwarding to Dockerized Gunicorn
Changing my nginx:alpine Docker file to this fixed my issue. RUN rm -f /etc/nginx/conf.d/default.conf COPY nginx.conf /etc/nginx/conf.d/default.conf
View ArticleCannot push rtmp to Vimeo or Microsoft
Hi In short im trying to use NGINX to push a rtmp stream to Microsoft Office and Vimeo for a live event . The setup is as follows: OBS to encode on a PC Streams to NGINX server NGINX server push to...
View ArticleHow to redirect to login page after auth_request returns 401
I do auth_request /auth; as described in https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-subrequest-authentication/ How can I redirect to login page if /auth returns 401 or 403?...
View ArticleRe: Cannot push rtmp to Vimeo or Microsoft
Some further news. I worked out the the company firewall was blocking the broadcast . Edited the rules and inspection policies to exclude and allow all traffic from the NGINX server and now Vimeo works...
View ArticleNginx Reserve proxy LDAP queries
Might a bit of a strange question. But im trying to setup nginx as a reverse proxy to pass a SAAS based application LDAP queriey to our internal MS AD services.. But being a newb at Nginx cant get the...
View Article