Skip to content
Permalink
Browse files
修改README.md文件中的nginx配置,存在安全漏洞。
  • Loading branch information
welliamcao committed Nov 17, 2021
1 parent c2a3d06 commit 9cd6b1b94dd0e4489017ebcaa0fe0438e59f0689
Showing with 3 additions and 9 deletions.
  1. +3 −9 README.md
@@ -217,25 +217,19 @@ server {
proxy_set_header Connection "upgrade";
proxy_pass http://192.168.1.233:8000$request_uri;
}
location /static {
location /static/ {
expires 30d;
autoindex on;
add_header Cache-Control private;
alias /mnt/OpsManage/static/;
}
location /media/avatar {
expires 30d;
autoindex on;
add_header Cache-Control private;
alias /mnt/OpsManage/upload/avatar/;
}
location /media/navbar {
location /media/navbar/ {
expires 30d;
autoindex on;
add_header Cache-Control private;
alias /srv/OpsManage/upload/navbar/;
}
location /media/apply/icon {
location /media/apply/icon/ {
expires 30d;
autoindex on;
add_header Cache-Control private;

0 comments on commit 9cd6b1b

Please sign in to comment.