Add configuration for lab based my-aiva demo platform
This commit is contained in:
@@ -69,6 +69,32 @@ server {
|
||||
}
|
||||
}
|
||||
|
||||
# my-aiva.apptabulous.co.uk
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
server_name my-aiva.apptabulous.co.uk;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/apptabulous.co.uk/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/apptabulous.co.uk/privkey.pem;
|
||||
|
||||
if ($block_uri = 1) {
|
||||
return 403;
|
||||
}
|
||||
|
||||
# This must come before the / endpoint so as not to be masked
|
||||
location /webhook {
|
||||
proxy_pass http://my-aiva:5000;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://my-aiva:3000;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
# Watchtower
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
- "www.apptabulous.co.uk"
|
||||
- "hub.apptabulous.co.uk"
|
||||
- "watchtower.apptabulous.co.uk"
|
||||
- "my-aiva.apptabulous.co.uk"
|
||||
- "m5p3nc3r.co.uk"
|
||||
- "www.m5p3nc3r.co.uk"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user