feat: added new service
This commit is contained in:
parent
d7a610625a
commit
2bad806dfc
1 changed files with 13 additions and 1 deletions
14
nginx.conf
14
nginx.conf
|
@ -12,7 +12,7 @@ http {
|
|||
|
||||
server {
|
||||
listen 80;
|
||||
server_name vps.gerardgascon.com git.gerardgascon.com media.gerardgascon.com;
|
||||
server_name vps.gerardgascon.com git.gerardgascon.com media.gerardgascon.com vault.gerardgascon.com;
|
||||
|
||||
location ^~ /.well-known/acme-challenge/ {
|
||||
root /var/www/certbot;
|
||||
|
@ -57,4 +57,16 @@ http {
|
|||
proxy_pass http://100.86.144.2:8097/;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name vault.gerardgascon.com;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/vault.gerardgascon.com/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/vault.gerardgascon.com/privkey.pem;
|
||||
|
||||
location / {
|
||||
proxy_pass http://100.86.144.2:10380/;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue