mirror of
https://github.com/elisspace/rtinst.git
synced 2026-08-29 15:44:06 +00:00
Update nginxsite
This commit is contained in:
@@ -14,7 +14,7 @@ server {
|
||||
deny all;
|
||||
|
||||
location @denied {
|
||||
return 301 https://$server_name$request_uri;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
location / {
|
||||
@@ -46,10 +46,6 @@ server {
|
||||
|
||||
client_max_body_size 40m;
|
||||
|
||||
if ($host != $server_name) {
|
||||
return 301 https://$server_name$request_uri;
|
||||
}
|
||||
|
||||
ssl_certificate /etc/ssl/ruweb.crt;
|
||||
ssl_certificate_key /etc/ssl/private/ruweb.key;
|
||||
ssl_session_timeout 5m;
|
||||
|
||||
Reference in New Issue
Block a user