# Make sure you create a CNAME with your domain registrar
include /config/nginx/ssl.conf;
# Delete the line below if you aren't using LSIO's SWAG container
# or if you don't have a file called "proxy.conf"
include /config/nginx/proxy.conf;
# Delete the line below if you aren't using Docker DNS
resolver 127.0.0.11 valid=30s;
# Change the word petio below to the IP
# of where Petio is installed if you aren't using Docker DNS
# You can leave the next 3 lines as is,
# unless you are using a different port
# or you are somehow using HTTPS internally
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
# This is optional and only if you want to protect your `/admin` endpoint
# with some sort of auth in front of it.
# No auth example is being provided
# Delete the line below if you aren't using LSIO's SWAG container
# or if you don't have a file called "proxy.conf"
include /config/nginx/proxy.conf;
# Delete the line below if you aren't using Docker DNS
resolver 127.0.0.11 valid=30s;
# Change the line below to the IP
# of where Petio is installed if you aren't using Docker DNS
# You can leave the next 3 lines as is,
# unless you are using a different port
# or you are somehow using HTTPS internally
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;