I'm trying to add basic authentication to a nginx reverse proxy which is in
front of a nuxtjs app.
I've configured nginx as such
server {
server_name ;
auth_basic "Restricted Content";
auth_basic_user_file /etc/nginx/.htpasswd;
gzipon;
gzip_types text/plain ap
Hi
We're using proxy_pass to silently forward a website to a different URL.
Here is the code
location ^~/ {
proxy_pass http://www.example.org/;
}
So let's say the site is example1.org.
Going to www.example1.com//history correctly shows that page
that would be visibile at
www.example.org//his
Thanks, trying that gives me www.example1.com//history but the
pages doesnt display
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,256577,256579#msg-256579
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/n
Will do...in case this helps...here's my config
server {
listen 80;
client_max_body_size 4G;
server_name example1.com;
passenger_enabled on;
root /home//current/public;
rails_env production;
keepalive_timeout 5;
location = / {
proxy_pass http://example1.com/; // This is to silently redirect
th
We've got a website that is available at example.com.
A subsection of the page is available at example.com/folder_name/page1
example.com/folder_name/page2 etc
We need the pages below folder_name to be accessible at
example1.com/folder_name/page1 example1.com/folder_name/page2 etc
This is worki
Hi
When browsing one of our websites the content-length field header is not
shown, even with gzip turned off. This causes issues with
chunked_transfer_encoding and kaspersky av.
How can we get the content-length to show?
This is a ruby on rails app using passenger.
Thanks
Stuart
Posted at Ng
Hi
I'm trying to set multiple limit_req_zones for the same site. Is this
possible?
We have a few areas where clicking on a link seems to generate a lot of 503s
so we'd like to up the limit without jeopardizing the stability of the rest
of the site.
Thanks
Posted at Nginx Forum:
http://forum.n
Thanks
so if I do
location /
limit_req_zone
and then
location /limited/
limit_req_zone
then the first limit won't apply to the second location
Thanks
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,261573,261576#msg-261576
___
nginx ma