2023-08-28 18:25:32 +00:00
|
|
|
limit_req_zone global zone=deployer_limit:100k rate=3r/m;
|
|
|
|
|
2023-06-01 13:26:12 +00:00
|
|
|
server {
|
|
|
|
listen 443;
|
|
|
|
listen [::]:443;
|
2023-09-07 17:50:05 +00:00
|
|
|
server_name $JC_SERVICE;
|
2023-06-01 13:26:12 +00:00
|
|
|
ssl_certificate /etc/letsencrypt/live/deployer.jean-cloud.org/fullchain.pem;
|
|
|
|
ssl_certificate_key /etc/letsencrypt/live/deployer.jean-cloud.org/privkey.pem;
|
2023-08-28 18:25:32 +00:00
|
|
|
location / {
|
|
|
|
limit_req zone=deployer_limit;
|
|
|
|
include /etc/nginx/fastcgi_params;
|
|
|
|
fastcgi_param SCRIPT_FILENAME /docker/deployer.jean-cloud.org/server.sh;
|
2023-06-01 13:26:12 +00:00
|
|
|
fastcgi_pass unix:/var/run/fcgiwrap.socket;
|
|
|
|
}
|
|
|
|
}
|