juzhiyuan commented on a change in pull request #370:
URL: https://github.com/apache/apisix-dashboard/pull/370#discussion_r467908081
##########
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:
if we need X-Forwarded-Proto here?
----------------------------------------------------------------
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:
[email protected]