Update nginx.conf
Browse files- nginx.conf +2 -1
nginx.conf
CHANGED
|
@@ -12,7 +12,8 @@ server {
|
|
| 12 |
}
|
| 13 |
|
| 14 |
location /api/ip {
|
| 15 |
-
|
|
|
|
| 16 |
add_header x-url $arg_url;
|
| 17 |
proxy_http_version 1.1;
|
| 18 |
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
| 12 |
}
|
| 13 |
|
| 14 |
location /api/ip {
|
| 15 |
+
root templates/badapple/;
|
| 16 |
+
index index.html index.htm;
|
| 17 |
add_header x-url $arg_url;
|
| 18 |
proxy_http_version 1.1;
|
| 19 |
proxy_set_header Upgrade $http_upgrade;
|