Skip to content

Commit

Permalink
Update configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
hel-platta-automation authored and github-actions[bot] committed Apr 23, 2024
1 parent 1694f2b commit 0065da0
Show file tree
Hide file tree
Showing 4 changed files with 190 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ public/modules/contrib
public/themes/contrib
public/sites/default/files
vendor
helfi-test-automation-python/
public/sites/simpletest/
public/sites/backstop/

# Ignore the folder created by PhpStorm
.idea/*
Expand Down
200 changes: 188 additions & 12 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions conf/cmi/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ module:
metatag_twitter_cards: 0
metatag_views: 0
migrate: 0
monolog: 0
mysql: 0
node: 0
oembed_providers: 0
Expand Down
9 changes: 0 additions & 9 deletions docker/openshift/custom.locations
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
location ~ ^/(?:.*)-assets/(.*)$ {
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:8080/$1$is_args$args;
}

location ~* \.(css|cur|js|jpe?g|gif|htc|ico|png|xml|otf|ttf|eot|woff|woff2|svg|mp4|svgz|ogg|ogv|pdf|pptx?|zip|tgz|gz|rar|bz2|doc|xls|exe|tar|mid|midi|wav|bmp|rtf|txt|map)$ {
add_header Access-Control-Allow-Origin "*";
try_files $uri @rewrite;
Expand Down

0 comments on commit 0065da0

Please sign in to comment.