Skip to content

Commit fd36449

Browse files
committed
feat(cloud-screenshot): update nginx config
build: [release]
1 parent 6cb1011 commit fd36449

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

charts/cloud-screenshot/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ maintainers:
55
66
name: Elegant Themes
77
name: cloud-screenshot
8-
version: 1.0.4
8+
version: 1.0.5

charts/cloud-screenshot/templates/nginx-config.yml

+8
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ data:
3232
server 127.0.0.1:9000;
3333
}
3434
35+
# Redirect IP requests to the domain
36+
server {
37+
listen 80;
38+
server_name _;
39+
40+
return 301 http://cloud-screenshot.dc-screenshot.svc.cluster.local$request_uri;
41+
}
42+
3543
server {
3644
listen 80;
3745
server_name cloud-screenshot.dc-screenshot.svc.cluster.local;

0 commit comments

Comments
 (0)