Created
August 15, 2019 06:20
-
-
Save growdigital/145a23c4d32bff8ddbeef35b99a4949f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
access_log /var/log/nginx/access.log vhost; | |
include /etc/nginx/vhost.d/default; | |
location / { | |
proxy_pass http://cloud.fieldcraftstudios.com; | |
} | |
} | |
server { | |
server_name cloud.fieldcraftstudios.com; | |
listen 443 ssl http2 ; | |
access_log /var/log/nginx/access.log vhost; | |
return 500; | |
ssl_certificate /etc/nginx/certs/default.crt; | |
ssl_certificate_key /etc/nginx/certs/default.key; | |
} | |
# media.fieldcraftstudios.com | |
upstream media.fieldcraftstudios.com { | |
## Can be connected with "nginx-proxy" network | |
# mediafieldcraftstudioscom_resourcespace_1 | |
server 172.29.0.9:2020; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment