From b92a762acc41a7b9c7f5e07214869bc6eb25ddf8 Mon Sep 17 00:00:00 2001 From: No0ne Date: Tue, 21 Sep 2021 03:17:17 +0200 Subject: [PATCH] Update nginx-default.conf (#241) Update nginx-default.conf to enable the web ui via IPv6 --- .github/CODEOWNERS | 1 + src/web/service-infra/nginx-default.conf | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000..f9857ddc --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @akuker @erichelgeson diff --git a/src/web/service-infra/nginx-default.conf b/src/web/service-infra/nginx-default.conf index 4a4991d4..58804911 100644 --- a/src/web/service-infra/nginx-default.conf +++ b/src/web/service-infra/nginx-default.conf @@ -1,6 +1,9 @@ # /etc/nginx/sites-available/default # Simple proxy_pass for RaSCSI-web server { + listen [::]:80 default_server; + listen 80 default_server; + location / { proxy_pass http://127.0.0.1:8080; } @@ -15,4 +18,4 @@ server { location = /502.html { root /var/www/html/; } -} \ No newline at end of file +}