Page MenuHomeVyOS Platform

Nginx change default root directory and fix regex
Closed, ResolvedPublicFEATURE REQUEST

Description

  1. We shouldn't see by default nginx index.html page

Change the default root directory

  1. Change regex

from:

location ~ /(retrieve|configure|config-file|image|container-image|generate|show|reset|docs|openapi.json|redoc|graphql) {

to:

location ~ ^/(retrieve|configure|config-file|image|container-image|generate|show|reset|docs|openapi.json|redoc|graphql) {

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Internal change (not visible to end users)