nohix conf
This commit is contained in:
1 parent
1e0a2793d0
commit
020cca6871
3 files changed
+32
-16
No files matched your search
@@ -0,0 +1,13 @@
|
||||
server_name nohix.metanohi.name www.nohix.metanohi.name;
|
||||
|
||||
root /home/niels/prog/metanohi-misc-subsites/nohix;
|
||||
index index.html index.php;
|
||||
|
||||
location ~ \.php$ {
|
||||
include snippets/fastcgi-php.conf;
|
||||
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
|
||||
}
|
||||
|
||||
location / {
|
||||
autoindex on;
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
include /etc/nginx/snippets/letsencrypt.conf;
|
||||
include /etc/nginx/basics/niels/nohix.metanohi.name.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/nohix.metanohi.name/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/nohix.metanohi.name/privkey.pem;
|
||||
ssl_trusted_certificate /etc/letsencrypt/live/nohix.metanohi.name/fullchain.pem;
|
||||
|
||||
include /etc/nginx/snippets/ssl.conf;
|
||||
include /etc/nginx/basics/niels/nohix.metanohi.name.conf;
|
||||
}
|
||||
Reference in new issue
Block a user