Created
December 29, 2019 20:49
-
-
Save dapi/3949f50545d978241ab62296734db8df 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
| https://<%= domain %>:444 https://*.<%= domain %>:444 { | |
| log /home/wwwkiiiosk/kiiiosk.store/shared/log/<%= domain %>_access.log | |
| errors /home/wwwkiiiosk/kiiiosk.store/shared/log/<%= domain %>_error.log | |
| gzip | |
| tls <%= cert_file %> <%= key_file %> { | |
| max_certs 2 | |
| } | |
| header / -Server | |
| root /home/wwwkiiiosk/kiiiosk.store/current/public | |
| rewrite { | |
| if {path} is / | |
| to /proxy/{uri} | |
| } | |
| rewrite { | |
| to {path} /proxy/{uri} | |
| } | |
| proxy /proxy unix:///home/wwwkiiiosk/kiiiosk.store/shared/tmp/sockets/puma.sock { | |
| except /assets | |
| without /proxy | |
| transparent | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment