Parcourir la source

Use absolute path for root directory

bubble
Chunyang Wang il y a 7 ans
committed by GitHub
Parent
révision
7f0de6312e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      nginx.conf

+ 1
- 1
nginx.conf Voir le fichier

@@ -17,7 +17,7 @@ http {
server_name localhost;

location / {
root html;
root /usr/share/nginx/html;
index index.html index.htm;
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '*';


Chargement…
Annuler
Enregistrer