-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/2.1.0' into main-6-5
- Loading branch information
Showing
53 changed files
with
1,910 additions
and
88 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
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,59 @@ | ||
server { | ||
listen 80; | ||
server_name hipay.shopware.com; | ||
return 301 https://$host$uri$is_args$args; | ||
} | ||
|
||
server { | ||
listen 443 ssl; | ||
server_name hipay.shopware.com; | ||
|
||
ssl_certificate /etc/nginx/ssl/selfsigned.crt; | ||
ssl_certificate_key /etc/nginx/ssl/selfsigned.key; | ||
|
||
location / { | ||
proxy_pass https://shopware; | ||
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; | ||
} | ||
} | ||
|
||
server { | ||
listen 8888 ssl; | ||
server_name hipay.shopware.com; | ||
|
||
ssl_certificate /etc/nginx/ssl/selfsigned.crt; | ||
ssl_certificate_key /etc/nginx/ssl/selfsigned.key; | ||
|
||
location /admin { | ||
proxy_pass http://shopware:8888; | ||
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; | ||
} | ||
location /static { | ||
proxy_pass http://shopware:8888; | ||
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; | ||
} | ||
location /api { | ||
proxy_pass http://shopware; | ||
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; | ||
} | ||
location / { | ||
proxy_pass http://shopware:8888; | ||
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; | ||
} | ||
} | ||
|
||
server { | ||
listen 9998 ssl; | ||
server_name hipay.shopware.com; | ||
|
||
ssl_certificate /etc/nginx/ssl/selfsigned.crt; | ||
ssl_certificate_key /etc/nginx/ssl/selfsigned.key; | ||
|
||
error_page 497 301 =307 https://$host:$server_port$uri$is_args$args; | ||
|
||
location / { | ||
add_header 'Content-Security-Policy' 'upgrade-insecure-requests'; | ||
proxy_pass http://shopware:9998; | ||
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; | ||
} | ||
} |
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,24 @@ | ||
server { | ||
listen 80; | ||
server_name URL_DOMAIN; | ||
add_header X-header "ok"; | ||
return 301 https://$host$uri$is_args$args; | ||
} | ||
|
||
server { | ||
listen 443 ssl; | ||
server_name URL_DOMAIN; | ||
|
||
ssl_certificate /etc/nginx/ssl/selfsigned.crt; | ||
ssl_certificate_key /etc/nginx/ssl/selfsigned.key; | ||
|
||
access_log /var/log/hipay_access.log; | ||
error_log /var/log/hipay_error.log; | ||
|
||
add_header X-test "ok"; | ||
|
||
location / { | ||
proxy_pass https://shopware-web-RELEASE_NAME; | ||
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; | ||
} | ||
} |
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,5 @@ | ||
FROM dockware/proxy:latest | ||
|
||
COPY bin/docker/conf/nginx/proxy_helm.conf /etc/nginx/conf.d/default.conf | ||
|
||
CMD [ "/entrypoint.sh" ] |
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 |
---|---|---|
|
@@ -20,3 +20,6 @@ | |
.idea/ | ||
*.tmproj | ||
.vscode/ | ||
|
||
# Ignore specifically | ||
*.yaml.dist |
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
Oops, something went wrong.