16 lines
595 B
Plaintext
16 lines
595 B
Plaintext
limit_req_zone global zone=deployer_limit:100k rate=3r/m;
|
|
|
|
server {
|
|
listen 443;
|
|
listen [::]:443;
|
|
server_name $SERVER_HOST;
|
|
ssl_certificate /etc/letsencrypt/live/deployer.jean-cloud.org/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/deployer.jean-cloud.org/privkey.pem;
|
|
location / {
|
|
limit_req zone=deployer_limit;
|
|
include /etc/nginx/fastcgi_params;
|
|
fastcgi_param SCRIPT_FILENAME /docker/deployer.jean-cloud.org/server.sh;
|
|
fastcgi_pass unix:/var/run/fcgiwrap.socket;
|
|
}
|
|
}
|