Created
December 21, 2015 02:13
-
-
Save martip07/c178616edc8e32df4fe4 to your computer and use it in GitHub Desktop.
Configuración básica de NGINX
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 examle.com; #example.com es el nombre de dominio | |
root /ruta/de/mis/archivo; #/ruta/de/mis/archivo es la ubicación en la que se encuentran los archivos de nuestra web | |
index index.html index.htm; | |
location / { | |
try_files $uri $uri/ /index.html; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment