server/web/sites

This commit is contained in:
Marc Beninca 2019-08-04 16:22:15 +02:00
parent fff9a3ad96
commit 133c62577a

View file

@ -297,8 +297,36 @@ Prepare a grub.cfg
}
}
Web
---
Sites
^^^^^
::
ssl_certificate /etc/nginx/rwx.work/bundle.crt;
ssl_certificate_key /etc/nginx/rwx.work/key.pem;
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name deb.rwx.work;
root /d/mirrors/apt-mirror/debian;
autoindex on;
}
server {
listen 443 ssl default_server;
listen [::]:443 ssl default_server;
server_name .rwx.work;
location / {
proxy_pass http://10.0.0.1/;
}
}
Certificate
-----------
^^^^^^^^^^^
* /etc/nginx/rwx.work
* key.pem