-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #339 from ec-jrc/318-publish-unavailable-while-cac…
…he-running #318 Implemented changes for code solve
- Loading branch information
Showing
145 changed files
with
27,085 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
<VirtualHost *:80> | ||
ServerName inspire.ec.europa.eu | ||
ErrorLog /var/log/httpd/inspire_error_log | ||
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined | ||
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy | ||
SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded | ||
CustomLog "/var/log/httpd/inspire_access_log" combined env=!forwarded | ||
CustomLog "/var/log/httpd/inspire_access_log" proxy env=forwarded | ||
|
||
LoadModule deflate_module modules/mod_deflate.so | ||
LoadModule filter_module modules/mod_filter.so | ||
SetOutputFilter DEFLATE | ||
|
||
DocumentRoot /var/www/empty | ||
|
||
KeepAliveTimeout 65 | ||
|
||
RequestHeader unset Server | ||
RequestHeader unset X-Powered-By | ||
RequestHeader unset X-Generator | ||
Header always set Referrer-Policy "same-origin" | ||
Header always append X-Frame-Options SAMEORIGIN | ||
RequestHeader set X-HTTPS 1 | ||
Header set Referrer-Policy "no-referrer-when-downgrade" | ||
Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure | ||
RequestHeader unset Liferay-Portal | ||
|
||
#<!-- COMMON MAINTENANCE BLOCK --> | ||
ProxyPass /sorry.html ! | ||
ErrorDocument 502 /sorry.html | ||
ErrorDocument 503 /sorry.html | ||
ErrorDocument 504 /sorry.html | ||
|
||
#<!-- BEGIN UNPLANNED MAINTENANCE --> | ||
Alias /sorry.html /var/www/html/remote/unplanned.html | ||
#<!-- END UNPLANNED MAINTENANCE --> | ||
|
||
#<!-- BEGIN PLANNED MAINTENANCE --> | ||
#<!-- END PLANNED MAINTENANCE --> | ||
|
||
ProxyRequests On | ||
ProxyPreserveHost On | ||
ProxyErrorOverride Off | ||
|
||
|
||
ProxyPass /sorry.html ! | ||
ErrorDocument 400 /sorry.html | ||
ErrorDocument 404 /sorry.html | ||
ErrorDocument 500 /sorry.html | ||
ErrorDocument 502 /sorry.html | ||
ErrorDocument 503 /sorry.html | ||
ErrorDocument 504 /sorry.html | ||
|
||
ProxyPass /robots.txt ! | ||
Alias /robots.txt /var/www/html/nobots.txt | ||
|
||
|
||
<Location /re3gistry> | ||
ProxyPass http://xxx.xxx.xxx.xxx:yyyy/re3gistry keepalive=On retry=1 connectiontimeout=300 timeout=300 ttl=3000 min=1 | ||
ProxyPassReverse http://xxx.xxx.xxx.xxx:yyyy/re3gistry | ||
</Location> | ||
|
||
<Location /re3gistry2restapi> | ||
ProxyPass http://xxx.xxx.xxx.xxx:yyyy/re3gistry2restapi keepalive=On retry=1 connectiontimeout=300 timeout=300 ttl=3000 min=1 | ||
ProxyPassReverse http://xxx.xxx.xxx.xxx:yyyy/re3gistry2restapi | ||
</Location> | ||
|
||
<Location /registry> | ||
ProxyPass http://xxx.xxx.xxx.xxx/registry keepalive=On retry=1 connectiontimeout=5 timeout=300 ttl=3000 min=1 | ||
ProxyPassReverse http://xxx.xxx.xxx.xxx/registry | ||
</Location> | ||
|
||
<Location /theme> | ||
ProxyPass http://xxx.xxx.xxx.xxx/theme keepalive=On retry=1 connectiontimeout=5 timeout=300 ttl=3000 min=1 | ||
ProxyPassReverse http://xxx.xxx.xxx.xxx/theme | ||
</Location> | ||
|
||
<Location /applicationschema> | ||
ProxyPass http://xxx.xxx.xxx.xxx/applicationschema keepalive=On retry=1 connectiontimeout=5 timeout=300 ttl=3000 min=1 | ||
ProxyPassReverse http://xxx.xxx.xxx.xxx/applicationschema | ||
</Location> | ||
|
||
<Location /codelist> | ||
ProxyPass http://xxx.xxx.xxx.xxx/codelist keepalive=On retry=1 connectiontimeout=5 timeout=300 ttl=3000 min=1 | ||
ProxyPassReverse http://xxx.xxx.xxx.xxx/codelist | ||
</Location> | ||
|
||
<Location /metadata-codelist> | ||
ProxyPass http://xxx.xxx.xxx.xxx/metadata-codelist keepalive=On retry=1 connectiontimeout=5 timeout=300 ttl=3000 min=1 | ||
ProxyPassReverse http://xxx.xxx.xxx.xxx/metadata-codelist | ||
</Location> | ||
|
||
<Location /enumeration> | ||
ProxyPass http://xxx.xxx.xxx.xxx/enumeration keepalive=On retry=1 connectiontimeout=5 timeout=300 ttl=3000 min=1 | ||
ProxyPassReverse http://xxx.xxx.xxx.xxx/enumeration | ||
</Location> | ||
|
||
<Location /featureconcept> | ||
ProxyPass http://xxx.xxx.xxx.xxx/featureconcept keepalive=On retry=1 connectiontimeout=5 timeout=300 ttl=3000 min=1 | ||
ProxyPassReverse http://xxx.xxx.xxx.xxx/featureconcept | ||
</Location> | ||
|
||
<Location /glossary> | ||
ProxyPass http://xxx.xxx.xxx.xxx/glossary keepalive=On retry=1 connectiontimeout=5 timeout=300 ttl=3000 min=1 | ||
ProxyPassReverse http://xxx.xxx.xxx.xxx/glossary | ||
</Location> | ||
|
||
<Location /layer> | ||
ProxyPass http://xxx.xxx.xxx.xxx/layer keepalive=On retry=1 connectiontimeout=5 timeout=300 ttl=3000 min=1 | ||
ProxyPassReverse http://xxx.xxx.xxx.xxx/layer | ||
</Location> | ||
|
||
<Location /media-types> | ||
ProxyPass http://xxx.xxx.xxx.xxx/media-types keepalive=On retry=1 connectiontimeout=5 timeout=300 ttl=3000 min=1 | ||
ProxyPassReverse http://xxx.xxx.xxx.xxx/media-types | ||
</Location> | ||
|
||
<Location /document> | ||
ProxyPass http://xxx.xxx.xxx.xxx/document keepalive=On retry=1 connectiontimeout=5 timeout=300 ttl=3000 min=1 | ||
ProxyPassReverse http://xxx.xxx.xxx.xxx/document | ||
</Location> | ||
|
||
</VirtualHost> |
Oops, something went wrong.