Created
December 18, 2023 05:06
-
-
Save TaylorJadin/8ba75760cc466042fdcd92f906e90f3d to your computer and use it in GitHub Desktop.
rollforcheese.com nginx.conf
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
user nginx; | |
worker_processes auto; | |
worker_rlimit_nofile 2048; | |
load_module modules/ngx_stream_module.so; | |
#load_module modules/ngx_http_modsecurity_module.so; | |
error_log /var/log/nginx/error_log info; | |
events { | |
worker_connections 2048; | |
use epoll; | |
} | |
http { | |
map $http_upgrade $connection_upgrade { | |
default upgrade; | |
'' close; | |
} | |
server { | |
server_name rollforcheese.com; | |
location / { | |
proxy_pass http://10.100.2.171:80; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection $connection_upgrade; | |
proxy_set_header Host $host; | |
} | |
} | |
server { | |
server_name phandelvers.rollforcheese.com; | |
location / { | |
proxy_pass http://10.100.2.171:81; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection $connection_upgrade; | |
proxy_set_header Host $host; | |
} | |
} | |
server { | |
server_name humblewood.rollforcheese.com; | |
location / { | |
proxy_pass http://10.100.2.171:82; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection $connection_upgrade; | |
proxy_set_header Host $host; | |
} | |
} | |
} | |
#### REMOVE THIS SECTION IF YOU WANT TO CONFIGURE YOUR ENVIRONMENT YOURSELF ##### | |
# include /etc/nginx/nginx-jelastic.conf; | |
#### MAKE CHANGES HERE ONLY IF YOU REALY KNOW WHAT YOU ARE DOING ##### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment