add nginx
This commit is contained in:
11
nginx copy.conf
Normal file
11
nginx copy.conf
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
root /usr/share/nginx/html;
|
||||||
|
index index.html index.htm;
|
||||||
|
try_files $uri /index.html =404;
|
||||||
|
}
|
||||||
|
|
||||||
|
include /etc/nginx/extra-conf.d/*.conf;
|
||||||
|
}
|
||||||
9
nginx-backend-not-found.conf
Normal file
9
nginx-backend-not-found.conf
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
location /api {
|
||||||
|
return 404;
|
||||||
|
}
|
||||||
|
location /docs {
|
||||||
|
return 404;
|
||||||
|
}
|
||||||
|
location /redoc {
|
||||||
|
return 404;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user