Spaces:
Sleeping
Sleeping
Update conf/nginx.conf
Browse files- conf/nginx.conf +1 -13
conf/nginx.conf
CHANGED
|
@@ -43,19 +43,7 @@ http {
|
|
| 43 |
location / {
|
| 44 |
root html;
|
| 45 |
index index.html index.htm;
|
| 46 |
-
}
|
| 47 |
-
|
| 48 |
-
location ~*^/(rfc|errata)/ {
|
| 49 |
-
add_header X-Frame-Options "SAMEORIGIN";
|
| 50 |
-
add_header Access-Control-Allow-Origin * always;
|
| 51 |
-
add_header Access-Control-Allow-Headers *;
|
| 52 |
-
add_header Access-Control-Allow-Methods "GET, POST, PUT, OPTIONS";
|
| 53 |
-
add_header Access-Control-Allow-Credentials true;
|
| 54 |
-
proxy_ssl_server_name on;
|
| 55 |
-
proxy_pass https://www.rfc-editor.org;
|
| 56 |
-
}
|
| 57 |
-
|
| 58 |
-
|
| 59 |
|
| 60 |
#error_page 404 /404.html;
|
| 61 |
|
|
|
|
| 43 |
location / {
|
| 44 |
root html;
|
| 45 |
index index.html index.htm;
|
| 46 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
#error_page 404 /404.html;
|
| 49 |
|