-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: traefikでリバースプロキシ切り出そうとしたけどつまりかけてる
- Loading branch information
Showing
5 changed files
with
74 additions
and
142 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# メインサーバの設定 | ||
server { | ||
|
||
# 80ポートでlistenする | ||
# listen 80; | ||
# ホスト名 | ||
# 環境変数で指定した値を使用する | ||
server_name frontend; | ||
|
||
access_log /var/log/nginx/access.log; | ||
error_log /var/log/nginx/error.log; | ||
|
||
# ルートディレクトリ | ||
# ここではフロントエンドのビルドファイルを配置する | ||
location / { | ||
root /usr/share/nginx/dist; | ||
index index.html index.htm; | ||
try_files $uri $uri/ /index.html; | ||
} | ||
error_page 404 /404.html; | ||
location = /40x.html { | ||
} | ||
error_page 500 502 503 504 /50x.html; | ||
location = /50x.html { | ||
} | ||
|
||
|
||
} |
This file was deleted.
Oops, something went wrong.