You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/08/11 03:10:24 UTC

[GitHub] [apisix-dashboard] gxthrj commented on a change in pull request #370: feat: Unified access entrance, only the dashboard port is exposed to …

gxthrj commented on a change in pull request #370:
URL: https://github.com/apache/apisix-dashboard/pull/370#discussion_r468301066



##########
File path: compose/dashboard_conf/nginx.conf
##########
@@ -0,0 +1,21 @@
+server {
+    listen 80;
+    # gzip config
+    gzip on;
+    gzip_min_length 1k;
+    gzip_comp_level 9;
+    gzip_types text/plain text/css text/javascript application/json application/javascript application/x-javascript application/xml;
+    gzip_vary on;
+    gzip_disable "MSIE [1-6]\.";
+
+    root /usr/share/nginx/html;
+    include /etc/nginx/mime.types;
+
+    location / {
+        try_files $uri $uri/ /index.html;
+    }
+
+    location /apisix/admin {
+        proxy_pass http://manager:8080/apisix/admin;
+    }
+}

Review comment:
       done




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org