marco-jem opened a new issue, #12543:
URL: https://github.com/apache/apisix/issues/12543

   ### Current State
   
   Hello! I'm trying to install APISIX from source and while APISIX itself is 
up and running I'm unable to activate the dashboard.
   
   I tried to add
   ```
   admin:
     enable_admin_ui: true         # Enable embedded APISIX Dashboard UI.
   ```
   to the configuration file but i get the 404 error.
   
   As far as I can see the /ui/ path is configured in NGINX
   ```
       server {
           listen 0.0.0.0:9180;
           log_not_found off;
   
           # admin configuration snippet starts
   
           # admin configuration snippet ends
   
           set $upstream_scheme             'http';
           set $upstream_host               $http_host;
           set $upstream_uri                '';
   
           allow 127.0.0.0/24;
           deny all;
   
           location /apisix/admin {
               content_by_lua_block {
                   apisix.http_admin()
               }
           }
   
           location = /ui {
               return 301 /ui/;
           }
           location ^~ /ui/ {
               rewrite ^/ui/(.*)$ /$1 break;
               root /opt/apisix/apisix-release/3.13/ui;
               try_files $uri /index.html =404;
               gzip on;
               gzip_types text/css application/javascript application/json;
               expires 7200s;
               add_header Cache-Control "private,max-age=7200";
           }
       }
   ```
   
   but it points to the folder /opt/apisix/apisix-release/3.13/ui which does 
not exist.
   
   The forlder /opt/apisix/apisix-release/3.13 is a clone of the GitHub 
repository made with the command
   ```
   git clone --depth 1 --branch release/3.13 
https://github.com/apache/apisix.git apisix-release/3.13
   ```
   and ui folder is not there.
   
   Could you please add instructions in the Docs on how the dasboard should be 
installed / configured / enabled?
   
   ### Desired State
   
   There should be detailed instructions on how the embedded dashboard should 
be enabled


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to