Looks nice now

This commit is contained in:
Sergei Poljanski 2023-08-03 00:00:27 +03:00
commit c930c040af
11 changed files with 97 additions and 189 deletions

20
sites-available/https Normal file
View file

@ -0,0 +1,20 @@
server {
listen 80;
server_name _;
listen [::]:80;
server_name _;
if ($host = http://$host$request_uri) {
return 301 https://$host$request_uri;
}
if ($host = http://www.$host$request_uri;) {
return 301 https://$host$request_uri;
}
location / {
try_files $uri $uri/ =404;
}
}