order in nginx confs
This commit is contained in:
parent
0c62698e52
commit
21624f9471
|
|
@ -0,0 +1,16 @@
|
|||
# Redirect z HTTPS na nową domenę kopama.com.pl
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name kopana.com.pl www.kopana.com.pl;
|
||||
|
||||
server_tokens off;
|
||||
|
||||
ssl_certificate /letsencrypt/live/kopana.com.pl/fullchain.pem;
|
||||
ssl_certificate_key /letsencrypt/live/kopana.com.pl/privkey.pem;
|
||||
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
|
||||
# Permanent redirect z zachowaniem ścieżki
|
||||
return 301 https://kopama.com.pl$request_uri;
|
||||
}
|
||||
Loading…
Reference in New Issue