Skip to content

Commit

Permalink
Update 2_nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
lxhao61 authored May 18, 2021
1 parent be756e8 commit 44d814c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v2ray(E+B+C+F+A)+nginx/2_nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ http {
server {
listen unix:/dev/shm/h1.sock; #http/1.1 server进程
listen unix:/dev/shm/h2c.sock http2; #h2c server进程
server_name xx.yy; #限定域名访问(禁止以ip方式访问网站),修改成自己的域名
server_name xx.yy; #限定域名访问(禁止以ip方式访问网站),更改为自己的域名

add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always; #启用HSTS
location / {
root /var/www/html; #修改成自己存放的web文件路径
root /var/www/html; #更改为自己存放的web文件路径
index index.html index.htm;
}
}
Expand Down

0 comments on commit 44d814c

Please sign in to comment.