This commit is contained in:
@@ -7,9 +7,10 @@ server {
|
|||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-NginX-Proxy true;
|
proxy_set_header X-NginX-Proxy true;
|
||||||
|
|
||||||
rewrite ^/api/?(.*) /$1 break;
|
return 200 ttestestset;
|
||||||
|
#rewrite ^/api/?(.*) /$1 break;
|
||||||
|
|
||||||
proxy_pass http://api.tsotr.humenius.me/;
|
#proxy_pass http://api.tsotr.humenius.me/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
|||||||
Reference in New Issue
Block a user