-
Notifications
You must be signed in to change notification settings - Fork 39
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 #71 from metasfresh/gh69
release 5.173 including mobile
- Loading branch information
Showing
21 changed files
with
239 additions
and
186 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
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
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 |
---|---|---|
@@ -1,86 +1,92 @@ | ||
<VirtualHost *:80> | ||
ProxyRequests Off | ||
DocumentRoot /opt/metasfresh-webui-frontend/dist/ | ||
ErrorLog ${APACHE_LOG_DIR}/webui_error.log | ||
CustomLog ${APACHE_LOG_DIR}/webui_access.log combined | ||
ProxyRequests Off | ||
DocumentRoot /opt/metasfresh-webui-frontend/dist/ | ||
ErrorLog ${APACHE_LOG_DIR}/webui_error.log | ||
CustomLog ${APACHE_LOG_DIR}/webui_access.log combined | ||
|
||
<Location /rest> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/rest/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/rest/ | ||
</Location> | ||
<Location /rest> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/rest/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/rest/ | ||
</Location> | ||
|
||
<Location /stomp> | ||
Order allow,deny | ||
Allow from all | ||
RewriteEngine on | ||
RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC] | ||
RewriteCond %{HTTP:CONNECTION} Upgrade$ [NC] | ||
RewriteRule .* ws://webapi:8080%{REQUEST_URI} [P] | ||
ProxyPass ws://webapi:8080/stomp/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse ws://webapi:8080/stomp/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPass http://webapi:8080/stomp/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/stomp/ | ||
</Location> | ||
<Location /stomp> | ||
Order allow,deny | ||
Allow from all | ||
RewriteEngine on | ||
RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC] | ||
RewriteCond %{HTTP:CONNECTION} Upgrade$ [NC] | ||
RewriteRule .* ws://webapi:8080%{REQUEST_URI} [P] | ||
ProxyPass ws://webapi:8080/stomp/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse ws://webapi:8080/stomp/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPass http://webapi:8080/stomp/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/stomp/ | ||
</Location> | ||
|
||
<Location /info> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/info retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/info | ||
</Location> | ||
|
||
<Location /swagger-ui.html> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/swagger-ui.html retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/swagger-ui.html | ||
</Location> | ||
<Location /info> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/info retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/info | ||
</Location> | ||
|
||
<Location /v2/api-docs> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/v2/api-docs/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/v2/api-docs/ | ||
</Location> | ||
<Location /swagger-ui.html> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/swagger-ui.html retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/swagger-ui.html | ||
</Location> | ||
|
||
<Location /swagger-resources> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/swagger-resources/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/swagger-resources/ | ||
</Location> | ||
<Location /v2/api-docs> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/v2/api-docs/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/v2/api-docs/ | ||
</Location> | ||
|
||
<Location /webjars/springfox-swagger-ui> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/webjars/springfox-swagger-ui/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/webjars/springfox-swagger-ui/ | ||
</Location> | ||
<Location /swagger-resources> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/swagger-resources/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/swagger-resources/ | ||
</Location> | ||
|
||
<Location /configuration> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/configuration/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/configuration/ | ||
</Location> | ||
<Location /webjars/springfox-swagger-ui> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/webjars/springfox-swagger-ui/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/webjars/springfox-swagger-ui/ | ||
</Location> | ||
|
||
<Location /info> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/info retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/info | ||
</Location> | ||
<Location /configuration> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/configuration/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/configuration/ | ||
</Location> | ||
|
||
<Directory /opt/metasfresh-webui-frontend/dist/> | ||
Options Indexes FollowSymLinks | ||
AllowOverride All | ||
Require all granted | ||
RewriteEngine On | ||
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR] | ||
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d | ||
RewriteRule ^ - [L] | ||
RewriteRule ^ /index.html | ||
</Directory> | ||
<Location /info> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/info retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/info | ||
</Location> | ||
|
||
<Location /mobile> | ||
Order allow,deny | ||
Allow from all | ||
</Location> | ||
|
||
<Directory /opt/metasfresh-webui-frontend/dist/> | ||
Options Indexes FollowSymLinks | ||
AllowOverride All | ||
Require all granted | ||
RewriteEngine On | ||
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR] | ||
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d | ||
RewriteCond %{REQUEST_URI} !^/mobile?$ | ||
RewriteRule ^ - [L] | ||
RewriteRule ^ /index.html | ||
</Directory> | ||
</VirtualHost> |
174 changes: 102 additions & 72 deletions
174
docker-src/webui/sources/configs/metasfresh_webui_ssl.conf
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 |
---|---|---|
@@ -1,82 +1,112 @@ | ||
<IfModule mod_ssl.c> | ||
<VirtualHost *:443> | ||
ProxyRequests Off | ||
DocumentRoot /opt/metasfresh-webui-frontend/dist/ | ||
ErrorLog ${APACHE_LOG_DIR}/webui_error.log | ||
CustomLog ${APACHE_LOG_DIR}/webui_access.log combined | ||
<Location /rest> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/rest/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/rest/ | ||
</Location> | ||
|
||
<Location /stomp> | ||
Order allow,deny | ||
Allow from all | ||
RewriteEngine on | ||
RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC] | ||
RewriteCond %{HTTP:CONNECTION} Upgrade$ [NC] | ||
RewriteRule .* ws://webapi:8080%{REQUEST_URI} [P] | ||
ProxyPass ws://webapi:8080/stomp/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse ws://webapi:8080/stomp/ | ||
ProxyPass http://webapi:8080/stomp/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/stomp/ | ||
</Location> | ||
|
||
<Location /info> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/info retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/info | ||
</Location> | ||
ProxyRequests Off | ||
DocumentRoot /opt/metasfresh-webui-frontend/dist/ | ||
ErrorLog ${APACHE_LOG_DIR}/webui_error.log | ||
CustomLog ${APACHE_LOG_DIR}/webui_access.log combined | ||
|
||
|
||
<Location /rest> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/rest/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/rest/ | ||
</Location> | ||
|
||
<Location /swagger-ui.html> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/swagger-ui.html retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/swagger-ui.html | ||
</Location> | ||
<Location /stomp> | ||
Order allow,deny | ||
Allow from all | ||
RewriteEngine on | ||
RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC] | ||
RewriteCond %{HTTP:CONNECTION} Upgrade$ [NC] | ||
RewriteRule .* ws://webapi:8080%{REQUEST_URI} [P] | ||
ProxyPass ws://webapi:8080/stomp/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse ws://webapi:8080/stomp/ | ||
ProxyPass http://webapi:8080/stomp/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/stomp/ | ||
</Location> | ||
|
||
<Location /info> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/info retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/info | ||
</Location> | ||
|
||
<Location /swagger-ui.html> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/swagger-ui.html retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/swagger-ui.html | ||
</Location> | ||
|
||
<Location /v2/api-docs> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/v2/api-docs/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/v2/api-docs/ | ||
</Location> | ||
|
||
<Location /swagger-resources> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/swagger-resources/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/swagger-resources/ | ||
</Location> | ||
|
||
<Location /webjars/springfox-swagger-ui> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/webjars/springfox-swagger-ui/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/webjars/springfox-swagger-ui/ | ||
</Location> | ||
|
||
<Location /configuration> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/configuration/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/configuration/ | ||
</Location> | ||
|
||
<Location /v2/api-docs> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/v2/api-docs/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/v2/api-docs/ | ||
</Location> | ||
<Location /mobile> | ||
Order allow,deny | ||
Allow from all | ||
FileETag None | ||
Header unset ETag | ||
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" | ||
Header set Pragma "no-cache" | ||
Header set Expires "Wed, 21 Oct 2015 07:28:00 GMT" | ||
</Location> | ||
|
||
<Location /swagger-resources> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/swagger-resources/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/swagger-resources/ | ||
</Location> | ||
<Directory /opt/metasfresh-webui-frontend/dist/> | ||
Options Indexes FollowSymLinks | ||
AllowOverride All | ||
Require all granted | ||
RewriteEngine On | ||
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR] | ||
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d | ||
RewriteCond %{REQUEST_URI} !^/mobile?$ | ||
RewriteRule ^ - [L] | ||
RewriteRule ^ /index.html | ||
</Directory> | ||
|
||
<Location /webjars/springfox-swagger-ui> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/webjars/springfox-swagger-ui/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/webjars/springfox-swagger-ui/ | ||
</Location> | ||
<Files index.html> | ||
FileETag None | ||
Header unset ETag | ||
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" | ||
Header set Pragma "no-cache" | ||
Header set Expires "Wed, 21 Oct 2015 07:28:00 GMT" | ||
</Files> | ||
|
||
<Location /configuration> | ||
Order allow,deny | ||
Allow from all | ||
ProxyPass http://webapi:8080/configuration/ retry=0 acquire=3000 timeout=600 Keepalive=On | ||
ProxyPassReverse http://webapi:8080/configuration/ | ||
</Location> | ||
<Files service-worker.js> | ||
FileETag None | ||
Header unset ETag | ||
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" | ||
Header set Pragma "no-cache" | ||
Header set Expires "Wed, 21 Oct 2015 07:28:00 GMT" | ||
</Files> | ||
|
||
<Directory /opt/metasfresh-webui-frontend/dist/> | ||
Options Indexes FollowSymLinks | ||
AllowOverride All | ||
Require all granted | ||
RewriteEngine On | ||
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR] | ||
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d | ||
RewriteRule ^ - [L] | ||
RewriteRule ^ /index.html | ||
</Directory> | ||
SSLCertificateFile /etc/apache2/certs/fullchain.pem | ||
SSLCertificateKeyFile /etc/apache2/certs/privkey.pem | ||
SSLCertificateFile /etc/apache2/certs/fullchain.pem | ||
SSLCertificateKeyFile /etc/apache2/certs/privkey.pem | ||
</VirtualHost> | ||
</IfModule> |
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,3 @@ | ||
const config = { | ||
SERVER_URL: 'http://MYDOCKERHOST:PORT/app', | ||
}; |
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 |
---|---|---|
@@ -1 +1 @@ | ||
8ab1d7558e398335a7e5977d571767ce0226f75b | ||
e05fb14f424a57e00beb2ccf2b96992cf35afff2 |
Oops, something went wrong.