feat: implemented scalable regex for Nginx server_names across App and API.
This commit is contained in:
@@ -9,12 +9,10 @@ server {
|
||||
|
||||
server_name
|
||||
${DOCKER_AE_API_SERVER_NAME}
|
||||
fastapi.localhost
|
||||
~^(dev|test|bak|sr|prod)?-?(api|fastapi)\.oneskyit\.com$
|
||||
api.localhost
|
||||
fastapi.localhost
|
||||
localhost
|
||||
dev-api.oneskyit.com
|
||||
test-api.oneskyit.com
|
||||
test-fastapi.oneskyit.com
|
||||
;
|
||||
|
||||
# server_name
|
||||
|
||||
Reference in New Issue
Block a user