Add digital catalog with shareable flipbook and ktg.montzar.ir deploy files.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# Place under /etc/nginx/sites-available/ktg.montzar.ir
|
||||
# First deploy: HTTP only. Then: sudo certbot --nginx -d ktg.montzar.ir
|
||||
#
|
||||
# Do not copy this into adm.montzar.ir or montime vhosts.
|
||||
# Do not change client_max_body_size on other sites.
|
||||
|
||||
upstream ktg_catalog {
|
||||
server 127.0.0.1:3020;
|
||||
keepalive 8;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name ktg.montzar.ir;
|
||||
|
||||
client_max_body_size 100M;
|
||||
|
||||
location / {
|
||||
proxy_pass http://ktg_catalog;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_read_timeout 120s;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user