work in progress
This commit is contained in:
@@ -5,6 +5,11 @@ server {
|
||||
|
||||
root /var/www/503/;
|
||||
index index.html;
|
||||
|
||||
if ($scheme = http) {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
server {
|
||||
@@ -18,15 +23,15 @@ server {
|
||||
|
||||
server_name *.unitraklub.pl unitraklub.pl;
|
||||
|
||||
ssl_certificate /etc/ssl/unitraklub.pl/fullchain.pem;
|
||||
ssl_certificate_key /etc/ssl/unitraklub.pl/privkey.pem;
|
||||
|
||||
ssl_certificate /etc/nginx/ssl/nginx.crt;
|
||||
ssl_certificate_key /etc/nginx/ssl/nginx.key;
|
||||
ssl_stapling off;
|
||||
|
||||
root /var/www/503/;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
try_files /index.html =404;
|
||||
}
|
||||
location / {
|
||||
try_files /index.html =404;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user