Fix example nginx config issue in README.md
This commit is contained in:
parent
a4193f830f
commit
c733d4c98f
@ -97,7 +97,7 @@ server {
|
|||||||
server_name example.com;
|
server_name example.com;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://localhost:3000/;
|
proxy_pass http://localhost:3000;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
||||||
limit_except GET HEAD {
|
limit_except GET HEAD {
|
||||||
@ -107,7 +107,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /tracking {
|
location /tracking {
|
||||||
proxy_pass http://localhost:3000/;
|
proxy_pass http://localhost:3000$request_uri;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
||||||
auth_basic 'Restricted';
|
auth_basic 'Restricted';
|
||||||
|
Loading…
Reference in New Issue
Block a user