|
@ -96,6 +96,15 @@ server { |
|
|
server_name ip.343.re; # 改为自己的域名 |
|
|
server_name ip.343.re; # 改为自己的域名 |
|
|
ssl_certificate /etc/ssl/certs/343.re/fullchain.pem; # 改为自己的证书 |
|
|
ssl_certificate /etc/ssl/certs/343.re/fullchain.pem; # 改为自己的证书 |
|
|
ssl_certificate_key /etc/ssl/certs/343.re/privkey.pem; |
|
|
ssl_certificate_key /etc/ssl/certs/343.re/privkey.pem; |
|
|
|
|
|
|
|
|
|
|
|
gzip on; |
|
|
|
|
|
gzip_buffers 32 4K; |
|
|
|
|
|
gzip_comp_level 6; |
|
|
|
|
|
gzip_min_length 100; |
|
|
|
|
|
gzip_types application/javascript text/css text/xml; |
|
|
|
|
|
gzip_disable "MSIE [1-6]\."; |
|
|
|
|
|
gzip_vary on; |
|
|
|
|
|
|
|
|
location / { |
|
|
location / { |
|
|
proxy_set_header X-Real-IP $remote_addr; |
|
|
proxy_set_header X-Real-IP $remote_addr; |
|
|
proxy_pass http://127.0.0.1:1601; |
|
|
proxy_pass http://127.0.0.1:1601; |
|
@ -191,6 +200,15 @@ server { |
|
|
server_name ip.343.re; # 改为自己的域名 |
|
|
server_name ip.343.re; # 改为自己的域名 |
|
|
ssl_certificate /etc/ssl/certs/343.re/fullchain.pem; # 改为自己的证书 |
|
|
ssl_certificate /etc/ssl/certs/343.re/fullchain.pem; # 改为自己的证书 |
|
|
ssl_certificate_key /etc/ssl/certs/343.re/privkey.pem; |
|
|
ssl_certificate_key /etc/ssl/certs/343.re/privkey.pem; |
|
|
|
|
|
|
|
|
|
|
|
gzip on; |
|
|
|
|
|
gzip_buffers 32 4K; |
|
|
|
|
|
gzip_comp_level 6; |
|
|
|
|
|
gzip_min_length 100; |
|
|
|
|
|
gzip_types application/javascript text/css text/xml; |
|
|
|
|
|
gzip_disable "MSIE [1-6]\."; |
|
|
|
|
|
gzip_vary on; |
|
|
|
|
|
|
|
|
location / { |
|
|
location / { |
|
|
proxy_set_header X-Real-IP $proxy_protocol_addr; |
|
|
proxy_set_header X-Real-IP $proxy_protocol_addr; |
|
|
proxy_pass http://127.0.0.1:1601; |
|
|
proxy_pass http://127.0.0.1:1601; |
|
|