Last active
January 4, 2020 17:54
-
-
Save Meandmybadself/3cbc7628ca6b52ed6d3331f96ab891ef to your computer and use it in GitHub Desktop.
NGINX basic server config
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
http { | |
index index.html; | |
server { | |
server_name www.domain.com domain.com | |
access_log logs/www.domain.com.access.log main; | |
root /var/www/www.domain.com/; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment