+ antijantepodden.no.fcg
This commit is contained in:
33
cfg/ngx/antijantepodden.no.cfg
Normal file
33
cfg/ngx/antijantepodden.no.cfg
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
# configuration of antijantepodden.no / frode klevstul / oct 2025
|
||||||
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name
|
||||||
|
antijantepodden.no *.antijantepodden.no
|
||||||
|
;
|
||||||
|
rewrite ^/p/ajp(.*)$ https://antijantepodden.com/.ep_ajp$1.html last;
|
||||||
|
return 301 https://antijantepodden.com;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 443 ssl;
|
||||||
|
listen [::]:443 ssl;
|
||||||
|
http2 on;
|
||||||
|
|
||||||
|
ssl_certificate /etc/nginx/acme.sh/antijantepodden.no/fullchain.pem;
|
||||||
|
ssl_certificate_key /etc/nginx/acme.sh/antijantepodden.no/key.pem;
|
||||||
|
ssl_trusted_certificate /etc/nginx/acme.sh/antijantepodden.no/cert.pem;
|
||||||
|
|
||||||
|
server_name
|
||||||
|
antijantepodden.no *.antijantepodden.no
|
||||||
|
;
|
||||||
|
|
||||||
|
# old: https://www.antijantepodden.no/p/ajp063
|
||||||
|
# (new: https://antijanteboka.com/antijantepodden_ajp063.html)
|
||||||
|
# new: https://ajp.fm/.ep_ajp063.html
|
||||||
|
rewrite ^/p/ajp(.*)$ https://antijantepodden.com/.ep_ajp$1.html last;
|
||||||
|
return 301 https://antijantepodden.com;
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user