Last active
February 8, 2021 08:54
-
-
Save zthxxx/7b71e49d5ab0f36ae3e3832b33a348de to your computer and use it in GitHub Desktop.
This file contains hidden or 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
server { | |
listen 443 ssl; | |
listen [::]:443 ssl; | |
server_name <xxxx.xxx>; | |
# acem: https://gist.github.com/zthxxx/b37cddcb17395e395ad6b430a81edd61 | |
# cloudflare: https://dash.cloudflare.com/<account_id>/<domain_name>/ssl-tls/origin | |
ssl_certificate /etc/nginx/ssl/<xxxx.xxx>/fullchain.cer; | |
ssl_certificate_key /etc/nginx/ssl/<xxxx.xxx>/privkey.key; | |
location / { | |
proxy_pass http://localhost:<xxx>; | |
include proxy_params; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment