-
-
Save berkes/a6ec56af9a3714453248 to your computer and use it in GitHub Desktop.
Filenames cannot have /, so `s/;/\//g`
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
server { | |
listen 80; | |
server_name example.com; | |
root /u/apps/examplecom/current/public; | |
passenger_enabled on; | |
passenger_app_env production; | |
try_files $uri @app; | |
location @app { | |
passenger_enabled on; | |
passenger_app_env production; | |
include /u/apps/examplecom/shared/nginx/app/*.conf; | |
} | |
include /u/apps/examplecom/shared/nginx/main/*.conf; | |
} | |
server { | |
listen 443 default_server ssl; | |
server_name example.com; | |
ssl_certificate xxx.crt; | |
ssl_certificate_key yyy.key; | |
root /u/apps/intercity_site_production/current/public; | |
include /u/apps/examplecom/shared/nginx/ssl/*.conf; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment