server/web/sites
This commit is contained in:
parent
fff9a3ad96
commit
133c62577a
1 changed files with 29 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue