Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3805102
D1413.id3606.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
992 B
Referenced Files
None
Subscribers
None
D1413.id3606.diff
View Options
diff --git a/roles/paas-docker/nginx/files/vhosts/jenkins.conf b/roles/paas-docker/nginx/files/vhosts/jenkins.conf
new file mode 100644
--- /dev/null
+++ b/roles/paas-docker/nginx/files/vhosts/jenkins.conf
@@ -0,0 +1,28 @@
+server {
+ listen 80;
+ listen [::]:80;
+ server_name {{ fqdn }};
+
+ include letsencrypt;
+
+ return 301 https://$host$request_uri;
+}
+
+server {
+ server_name {{ fqdn }};
+
+ include ssl_params;
+ ssl_certificate /data/letsencrypt/etc/live/{{ fqdn }}/fullchain.pem;
+ ssl_certificate_key /data/letsencrypt/etc/live/{{ fqdn }}/privkey.pem;
+
+ location / {
+ proxy_redirect http:// https://;
+ proxy_pass http://localhost:38080;
+
+ # Required for new HTTP-based CLI
+ # https://wiki.jenkins.io/display/JENKINS/Jenkins+behind+an+NGinX+reverse+proxy
+ proxy_http_version 1.1;
+ proxy_request_buffering off;
+ proxy_buffering off; # Required for HTTP-based CLI to work over SSL
+ }
+}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 1, 00:49 (17 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2273822
Default Alt Text
D1413.id3606.diff (992 B)
Attached To
Mode
D1413: Serve Jenkins from paas-docker nginx
Attached
Detach File
Event Timeline
Log In to Comment