Files
srv-pub/cfg/ngx/antijanteboka.no.conf

29 lines
752 B
Plaintext
Raw Permalink Normal View History

2025-11-02 14:14:12 -05:00
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# configuration of antijanteboka.no / frode klevstul / oct 2025
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
server {
listen 80;
server_name
antijanteboka.no *.antijanteboka.no
;
return 301 https://antijanteboka.com;
}
server {
listen 443 ssl;
listen [::]:443 ssl;
http2 on;
ssl_certificate /etc/nginx/acme.sh/antijanteboka.no/fullchain.pem;
ssl_certificate_key /etc/nginx/acme.sh/antijanteboka.no/key.pem;
ssl_trusted_certificate /etc/nginx/acme.sh/antijanteboka.no/cert.pem;
server_name
antijanteboka.no *.antijanteboka.no
;
return 301 https://antijanteboka.com;
}