1. Completed the Domain Name resolution. E.g. superset.websoft9.cn
      image.png
    2. Modify the related server configuration in the file /etc/nginx/conf.d/default.conf
      server_name ; changed to server_name _superset.websoft9.cn;
    1. server {
    2. listen 80;
    3. // Domain Name
    4. server_name superset.websoft9.cn;
    5. location / {
    6. proxy_pass http://127.0.0.1:8088;
    7. proxy_connect_timeout 300s;
    8. proxy_send_timeout 900;
    9. proxy_read_timeout 900;
    10. proxy_buffer_size 32k;
    11. proxy_buffers 4 32k;
    12. proxy_busy_buffers_size 64k;
    13. proxy_redirect off;
    14. proxy_hide_header Vary;
    15. proxy_set_header Accept-Encoding '';
    16. proxy_set_header Host $http_host;
    17. proxy_set_header Referer $http_referer;
    18. proxy_set_header Cookie $http_cookie;
    19. proxy_set_header X-Real-IP $remote_addr;
    20. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    21. proxy_set_header X-Forwarded-Proto $scheme;
    22. }
    23. }
    1. Restart Nginx
      1. sudo systemctl restart nginx