#0000 - Reorganize and enhance the NGINX configuration structure
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Introduce a refined NGINX configuration template with user, worker settings, and modular include directives. This improves clarity and allows easier integration of additional configuration files, while maintaining existing CORS settings.
This commit is contained in:
parent
7d017d7feb
commit
54f17cc4f2
1 changed files with 20 additions and 17 deletions
|
@ -1,3 +1,5 @@
|
|||
server {
|
||||
listen 80;
|
||||
location / {
|
||||
# other settings...
|
||||
# Allow CORS for all domains (or specify a particular domain instead of *)
|
||||
|
@ -16,3 +18,4 @@ location / {
|
|||
return 204;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue