Skip to content

Commit

Permalink
Merge branch 'fix-redirect'
Browse files Browse the repository at this point in the history
  • Loading branch information
CS-Tao committed Jul 5, 2018
2 parents 04a99fb + 589dc19 commit 9489680
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ server {
}

location /web {
autoindex on;
alias /usr/share/nginx/html/gtd-visualization/web;
}

Expand Down
2 changes: 2 additions & 0 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ events {
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
server_name_in_redirect off;
port_in_redirect off;

log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
Expand Down

0 comments on commit 9489680

Please sign in to comment.