Created
June 14, 2025 05:19
-
-
Save Ancillas/364e1944422c9f4aeddaaee3bc352625 to your computer and use it in GitHub Desktop.
Basic Nginx Config
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
| worker_processes auto; | |
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| keepalive_timeout 65; | |
| server { | |
| listen 80; | |
| server_name a.com; | |
| location / { | |
| root sites/a; | |
| index index.html; | |
| } | |
| } | |
| server { | |
| listen 80; | |
| server_name b.com; | |
| location / { | |
| root sites/b; | |
| index index.html; | |
| } | |
| } | |
| server { | |
| listen 80; | |
| server_name c.com; | |
| location / { | |
| root sites/c; | |
| index index.html; | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment