Skip to content

Commit

Permalink
feat(cloud-screenshot): update nginx config
Browse files Browse the repository at this point in the history
build: [release]
  • Loading branch information
lots0logs committed Nov 18, 2024
1 parent 6cb1011 commit fd36449
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/cloud-screenshot/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ maintainers:
- email: [email protected]
name: Elegant Themes
name: cloud-screenshot
version: 1.0.4
version: 1.0.5
8 changes: 8 additions & 0 deletions charts/cloud-screenshot/templates/nginx-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ data:
server 127.0.0.1:9000;
}
# Redirect IP requests to the domain
server {
listen 80;
server_name _;
return 301 http://cloud-screenshot.dc-screenshot.svc.cluster.local$request_uri;
}
server {
listen 80;
server_name cloud-screenshot.dc-screenshot.svc.cluster.local;
Expand Down

0 comments on commit fd36449

Please sign in to comment.