nginx.conf edited online with Bitbucket
This commit is contained in:
parent
3a19e0b994
commit
bd5d9f2903
@ -3,7 +3,8 @@ server {
|
||||
listen 8080;
|
||||
proxy_hide_header WWW-Authenticate;
|
||||
port_in_redirect off;
|
||||
|
||||
server_tokens off;
|
||||
root /usr/share/nginx/html;
|
||||
# SSL stuff for cloudflare proxy-ing - ignores SSL certificate and uses SNI
|
||||
|
||||
proxy_ssl_verify off;
|
||||
@ -15,9 +16,8 @@ server {
|
||||
}
|
||||
|
||||
location /ui/ {
|
||||
alias /usr/share/nginx/html/ui/;
|
||||
proxy_hide_header WWW-Authenticate;
|
||||
try_files $uri$args $uri$args/ $uri $uri/ /index.html =404;
|
||||
try_files $uri$args $uri$args/ $uri $uri/ /ui/index.html =404;
|
||||
}
|
||||
|
||||
client_max_body_size 0;
|
||||
@ -31,3 +31,4 @@ server {
|
||||
gzip_types application/javascript text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user