diff --git a/config/routes.yaml b/config/routes.yaml index c3283aa..4188ca5 100644 --- a/config/routes.yaml +++ b/config/routes.yaml @@ -1,3 +1,7 @@ #index: # path: / # controller: App\Controller\DefaultController::index +app.swagger_ui: + path: /ogdhcp/api/doc + methods: GET + defaults: { _controller: nelmio_api_doc.controller.swagger_ui } \ No newline at end of file diff --git a/installer/ogdhcp_installer.sh b/installer/ogdhcp_installer.sh index c2944d1..ef5ddd0 100755 --- a/installer/ogdhcp_installer.sh +++ b/installer/ogdhcp_installer.sh @@ -507,6 +507,7 @@ fi runComposer ${INSTALL_TARGET} # Creando configuración de Apache. setup_nginx $INSTALL_TARGET +setup_nginx $INSTALL_TARGET if [ $? -ne 0 ]; then errorAndLog "Error configuring Apache for OpenGnsys Admin" exit 1