Last active 1715193131

Revision 67c4458c793de83b5adc9706515db5bf787603ca

www-redirect Raw
1# www.example.org redirection
2server {
3 listen 443 ssl http2;
4 listen [::]:443 ssl http2;
5
6 ssl_certificate /etc/letsencrypt/live/example.org/fullchain.pem;
7 ssl_certificate_key /etc/letsencrypt/live/example.org/privkey.pem;
8 ssl_trusted_certificate /etc/letsencrypt/live/example.org/chain.pem;
9
10 server_name www.example.org;
11 rewrite ^(.*) https://example.org$1 permanent;
12}