Skip to content

Commit

Permalink
Merge from main
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Jul 19, 2024
2 parents 90e61c9 + 730f743 commit 4aabfbf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion images/web/cgimap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export CGIMAP_MAX_RELATION_MEMBERS="32000"
# export CGIMAP_MODERATOR_MAXDEBT="1280"
# export CGIMAP_PIDFILE="/var/www/cgimap.pid"

# Verificar el estado del sitio web
if [[ "$WEBSITE_STATUS" == "database_readonly" || "$WEBSITE_STATUS" == "api_readonly" ]]; then
export CGIMAP_DISABLE_API_WRITE="true"
fi
Expand Down
8 changes: 4 additions & 4 deletions images/web/config/production.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</Location>

# ======Proxying traffic to CGImap====
ProxyTimeout 600
ProxyTimeout 1200
RewriteCond %{REQUEST_URI} ^/api/0\.6/map
RewriteRule ^/api/0\.6/map(\.json|\.xml)?$ fcgi://127.0.0.1:8000$0 [P]
RewriteCond %{REQUEST_METHOD} ^(HEAD|GET)$
Expand All @@ -51,13 +51,13 @@

# Additional FastCGI configurations
<IfModule mod_proxy_fcgi.c>
ProxyTimeout 600
ProxyTimeout 1200
ProxyBadHeader Ignore
</IfModule>

<IfModule mod_fcgid.c>
FcgidIOTimeout 600
FcgidConnectTimeout 600
FcgidIOTimeout 1200
FcgidConnectTimeout 1200
</IfModule>
# Allow CORS for public access to map-styles path
<Location /map-styles/>
Expand Down
6 changes: 3 additions & 3 deletions values.production.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@ osm-seed:
resources:
enabled: true
requests:
memory: "3Gi"
cpu: "2"
memory: "2Gi"
cpu: "1000m"
limits:
memory: "3Gi"
cpu: "2"
cpu: "1500m"
autoscaling:
enabled: true
minReplicas: 2
Expand Down

0 comments on commit 4aabfbf

Please sign in to comment.