bodhi: cleanup_changes_that_didnt_work

Signed-off-by: amedvede <amedvede@redhat.com>
This commit is contained in:
amedvede 2024-01-18 20:19:49 +01:00 committed by kevin
parent b0ade05e86
commit ca42dcf422
2 changed files with 0 additions and 16 deletions

View file

@ -48,11 +48,6 @@ MaxRequestWorkers 100
ExpiresDefault "access plus 1 month"
Header unset ETag
</Location>
{% if env == 'staging' %}
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "https://src.stg.fedoraproject.org"
</IfModule>
{% endif %}
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
CustomLog /httpdir/accesslog combined
ErrorLog /httpdir/errorlog

View file

@ -709,21 +709,10 @@ pyramid.default_locale_name = en
pyramid.includes =
pyramid_sawing
cornice
pyramid_sawing.file = /etc/bodhi/logging.yaml
debugtoolbar.hosts = 127.0.0.1 ::1
##
## CORS settings
##
{% if env == "staging" %}
cors.policy.origins = https://src.stg.fedoraproject.org
cors.policy.headers = Content-Type, Accept
cors.policy.expose_headers = Content-Type, Accept
cors.policy.methods = GET, OPTIONS
cors.policy.max_age = 3600
{% endif %}
##
## Database