Docs added on authentication and nginx for development
This commit is contained in:
parent
280b95e3fd
commit
ea2e2cdee8
6 changed files with 110 additions and 173 deletions
|
|
@ -3,24 +3,20 @@ events {
|
|||
}
|
||||
|
||||
pid /tmp/nginx.pid;
|
||||
error_log /tmp/error;
|
||||
error_log /tmp/error info;
|
||||
|
||||
http {
|
||||
include mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
ssl_dhparam dhparams.pem;
|
||||
ssl_dhparam dhparams.pem;
|
||||
|
||||
##
|
||||
# Logging Settings
|
||||
##
|
||||
|
||||
access_log /tmp/access-main;
|
||||
|
||||
|
||||
#passenger_root /usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini;
|
||||
#passenger_ruby /home/debshots/.rbenv/versions/2.3.1/bin/ruby;
|
||||
|
||||
error_log /tmp/error-main info;
|
||||
|
||||
##
|
||||
# Gzip Settings
|
||||
|
|
@ -30,8 +26,8 @@ http {
|
|||
|
||||
server {
|
||||
listen *:3001 ssl;
|
||||
ssl_certificate screenshots.debian.net.crt;
|
||||
ssl_certificate_key screenshots.debian.net.key;
|
||||
ssl_certificate localhost.crt;
|
||||
ssl_certificate_key localhost.key;
|
||||
ssl_client_certificate debsso.crt;
|
||||
ssl_crl debsso.crl;
|
||||
ssl_verify_client optional;
|
||||
|
|
@ -41,6 +37,7 @@ http {
|
|||
root ../public;
|
||||
server_name _;
|
||||
access_log /tmp/access-front;
|
||||
error_log /tmp/error-front info;
|
||||
|
||||
# Tell the backend if the protocol used was HTTPS. Otherwise you get an infinite
|
||||
# redirection loop because the backend assumes that HTTP was spoken behind the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue