nginxのconfファイルの書き方について質問です。
hoge.conf
# hoge-app location /mypage { alias /var/www/html/project/hoge-app; index index.html index.html; try_files $uri $uri/ /mypage//index.html; } location /mypage/edit { alias /var/www/html/project/hoge-app; index index.html index.html; try_files $uri $uri/ /mypage//index.html; }
この2つのlocationの設定を一つにまとめることはできますでしょうか?
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/04/05 09:27
2017/04/05 09:35