34 lines
576 B
Plaintext
34 lines
576 B
Plaintext
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
server_name wiki.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
|
|
|
include common/dokuwiki.conf;
|
|
}
|
|
|
|
server {
|
|
listen 11027;
|
|
listen [::]:11027;
|
|
|
|
server_name vernknid6kpyzaghegtnypzxe2nx643zrfc4jivh2tlna5m5jvcq.b32.i2p;
|
|
|
|
include common/dokuwiki.conf;
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
server_name wiki.vern.cc;
|
|
include snippets/lets-encrypt.conf;
|
|
include common/dokuwiki.conf;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
return 301 https://$host$request_uri;
|
|
server_name wiki.vern.cc;
|
|
}
|
|
|