Last active
January 23, 2022 07:57
Revisions
-
LeCoupa revised this gist
Nov 10, 2017 . No changes.There are no files selected for viewing
-
Julien Le Coupanec revised this gist
Oct 17, 2014 . 1 changed file with 1 addition and 0 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 charactersOriginal file line number Diff line number Diff line change @@ -24,6 +24,7 @@ server { ssl on; ssl_certificate /etc/nginx/ssl/gentlenode.com.crt; ssl_certificate_key /etc/nginx/ssl/gentlenode.com.key; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # don’t use SSLv3 ref: POODLE location / { proxy_pass http://gentlenode/; -
Julien Le Coupanec revised this gist
Jun 4, 2014 . 1 changed file with 0 additions and 3 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,3 @@ # Note: if you want to run multiple meteor apps on the same server, # make sure to define a separate port for each. -
Julien Le Coupanec revised this gist
Jun 4, 2014 . 1 changed file with 1 addition and 1 deletion.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 charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ # http://journal.gentlenode.com/meteor-1-deploy-a-meteor-application-on-ubuntu-with-nginx/ # Note: if you want to run multiple meteor apps on the same server, # make sure to define a separate port for each. # Upstreams upstream gentlenode { -
Julien Le Coupanec revised this gist
Jun 4, 2014 . 1 changed file with 3 additions and 0 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,6 @@ # Check our Journal to see how to deploy Meteor with Nginx: # http://journal.gentlenode.com/meteor-1-deploy-a-meteor-application-on-ubuntu-with-nginx/ # Note: if you want to run multiple meteor apps on the same server, # make sure you define a separate port for each. -
Julien Le Coupanec revised this gist
Jun 4, 2014 . 1 changed file with 2 additions and 1 deletion.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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,7 @@ # Note: if you want to run multiple meteor apps on the same server, # make sure you define a separate port for each. # Upstreams upstream gentlenode { server 127.0.0.1:58080; } -
Julien Le Coupanec revised this gist
Jun 3, 2014 . 1 changed file with 1 addition and 1 deletion.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 charactersOriginal file line number Diff line number Diff line change @@ -17,7 +17,7 @@ server { listen 443; server_name gentlenode.com; root /srv/data_studio/web/gentlenode.com; error_log /var/log/nginx/gentlenode.com.log crit; ssl on; -
Julien Le Coupanec revised this gist
Mar 30, 2014 . 1 changed file with 0 additions and 2 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 charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,6 @@ # Upstreams # Note: if you want to run multiple meteor apps on the same server, # make sure you define a separate port for each. upstream gentlenode { server 127.0.0.1:58080; } -
Julien Le Coupanec revised this gist
Mar 30, 2014 . 1 changed file with 4 additions and 0 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,8 @@ # Upstreams # Note: if you want to run multiple meteor apps on the same server, # make sure you define a separate port for each. # Upstreams upstream gentlenode { server 127.0.0.1:58080; } -
Julien Le Coupanec revised this gist
Mar 30, 2014 . 1 changed file with 0 additions and 2 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,3 @@ # Upstreams upstream gentlenode { server 127.0.0.1:58080; -
Julien Le Coupanec revised this gist
Mar 30, 2014 . 1 changed file with 0 additions and 33 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 charactersOriginal file line number Diff line number Diff line change @@ -1,33 +0,0 @@ -
Julien Le Coupanec revised this gist
Mar 30, 2014 . 2 changed files with 34 additions and 2 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,33 @@ # Deploy without SSL # Check our Journal to see how to deploy Meteor with Nginx: # http://journal.gentlenode.com/meteor-1-deploy-a-meteor-application-on-ubuntu-with-nginx/ # Upstreams # Note: if you want to run multiple meteor apps on the same server, # make sure you define a separate port for each. upstream gentlenode { server 127.0.0.1:58080; } # HTTP Server server { listen 0.0.0.0:80; server_name gentlenode.com; access_log /var/log/nginx/gentlenode.access; location / { proxy_pass http://gentlenode/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forward-For $proxy_add_x_forwarded_for; proxy_set_header X-Forward-Proto http; proxy_set_header X-Nginx-Proxy true; proxy_redirect off; } } 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,4 @@ # Deploy with SSL # Upstreams upstream gentlenode { -
Julien Le Coupanec revised this gist
Mar 30, 2014 . 1 changed file with 1 addition and 1 deletion.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 charactersOriginal file line number Diff line number Diff line change @@ -18,7 +18,7 @@ server { listen 443; server_name gentlenode.com; root /srv/data_gentlenode/web/gentlenode.com; error_log /var/log/nginx/gentlenode.com.log crit; ssl on; -
Julien Le Coupanec revised this gist
Mar 30, 2014 . 1 changed file with 1 addition and 1 deletion.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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # Check our Journal to see how to deploy Meteor with Nginx: # http://journal.gentlenode.com/meteor-1-deploy-a-meteor-application-on-ubuntu-with-nginx/ # Upstreams -
Julien Le Coupanec created this gist
Mar 30, 2014 .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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,42 @@ # Check our Journal to see how to deploy Meteor on Nginx: # http://journal.gentlenode.com/meteor-1-deploy-a-meteor-application-on-ubuntu-with-nginx/ # Upstreams upstream gentlenode { server 127.0.0.1:58080; } # HTTP Server server { listen 0.0.0.0:80; server_name gentlenode.com; rewrite ^ https://$server_name$request_uri permanent; } # HTTPS Server server { listen 443; server_name gentlenode.com; root /srv/data_eits/web/gentlenode.com; error_log /var/log/nginx/gentlenode.com.log crit; ssl on; ssl_certificate /etc/nginx/ssl/gentlenode.com.crt; ssl_certificate_key /etc/nginx/ssl/gentlenode.com.key; location / { proxy_pass http://gentlenode/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forward-For $proxy_add_x_forwarded_for; proxy_set_header X-Forward-Proto http; proxy_set_header X-Nginx-Proxy true; proxy_redirect off; } }