Baoyuantop commented on issue #11652: URL: https://github.com/apache/apisix/issues/11652#issuecomment-2879146357
APISIX allows adding custom Nginx configuration via `http_server_location_configuration_snippet` or `http_end_configuration_snippet` configuration options. To add an internal location configuration similar to the one in the example (with the internal directive), you need to modify the APISIX configuration file `conf/config.yaml` and add something like this: ``` nginx_config: http_end_configuration_snippet: | location /mytest/ { internal; root /opt/html/mytest/; } ``` After modifying the configuration, you need to restart the APISIX service to apply the changes. -- 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: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org