Spaces:
Running
Running
Download docker/nginx/default.conf from Ailixir-AI-Team/ailixir-api: direct link, hf CLI and curl.
- Browser
- Download file 471 Bytes
-
https://huggingface.co/spaces/Ailixir-AI-Team/ailixir-api/resolve/main/docker/nginx/default.conf
- Command line
-
hf download hf://spaces/Ailixir-AI-Team/ailixir-api/docker/nginx/default.conf
-
curl -L -o default.conf https://huggingface.co/spaces/Ailixir-AI-Team/ailixir-api/resolve/main/docker/nginx/default.conf
471 Bytes
| server { | |
| listen 80; | |
| server_name _; | |
| root /var/www/html/public; | |
| index index.php; | |
| client_max_body_size 64M; | |
| location / { | |
| try_files $uri $uri/ /index.php?$query_string; | |
| } | |
| location ~ \.php$ { | |
| fastcgi_pass app:9000; | |
| fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; | |
| include fastcgi_params; | |
| fastcgi_read_timeout 300; | |
| } | |
| location ~ /\.(?!well-known).* { | |
| deny all; | |
| } | |
| } | |