server/nginx

This commit is contained in:
Marc Beninca 2019-08-06 21:10:14 +02:00
parent a4a70e169f
commit e5d4c8372c

View file

@ -338,30 +338,31 @@ Sites
:: ::
ssl_certificate /etc/nginx/rwx.work/bundle.crt;
ssl_certificate_key /etc/nginx/rwx.work/key.pem;
server { server {
include /etc/nginx/https.conf; include https.conf;
include rwx.work.conf;
server_name deb.rwx.work; server_name deb.rwx.work;
root /d/mirrors/apt-mirror/debian; root /d/mirrors/apt-mirror/debian;
autoindex on; autoindex on;
} }
server { server {
include /etc/nginx/https.conf; include https.conf;
include rwx.work.conf;
server_name docs.rwx.work; server_name docs.rwx.work;
root /d/projects/docs/out/docs; root /d/projects/docs/out/docs;
} }
server { server {
include /etc/nginx/https.conf; include https.conf;
include rwx.work.conf;
server_name todo.rwx.work; server_name todo.rwx.work;
root /d/projects/todo; root /d/projects/todo;
} }
server { server {
include /etc/nginx/https.conf; include https.conf;
include rwx.work.conf;
server_name .rwx.work; server_name .rwx.work;
location / { location / {
proxy_pass http://10.0.0.1/; proxy_pass http://10.0.0.1/;
@ -371,9 +372,16 @@ Sites
Certificate Certificate
^^^^^^^^^^^ ^^^^^^^^^^^
* /etc/nginx/rwx.work * /etc/nginx/rwx.work.conf
* key.pem
* bundle.crt ::
ssl_certificate rwx.work.crt;
ssl_certificate_key rwx.work.key;
* /etc/nginx/rwx.work.key
* /etc/nginx/rwx.work.crt
:: ::