Browse Source

Upload files to 'reverse_proxy'

master
GusG 5 years ago
parent
commit
9b9a97cc5c
  1. 33
      reverse_proxy/cert.pem
  2. 54
      reverse_proxy/key.pem
  3. 116
      reverse_proxy/nginx.conf

33
reverse_proxy/cert.pem

@ -0,0 +1,33 @@
-----BEGIN CERTIFICATE-----
MIIFyzCCA7OgAwIBAgIUBj3AQPvgOf1z6hU8TPp80e1U2eYwDQYJKoZIhvcNAQEL
BQAwdTELMAkGA1UEBhMCR1IxDzANBgNVBAgMBkF0aGVuczEPMA0GA1UEBwwGQXRo
ZW5zMQ4wDAYDVQQKDAVVbml3YTELMAkGA1UECwwCSVQxEDAOBgNVBAMMB1Zhc2ls
aXMxFTATBgkqhkiG9w0BCQEWBmFAYS5ncjAeFw0yMDA2MDEwOTA0MjRaFw0yMTA2
MDEwOTA0MjRaMHUxCzAJBgNVBAYTAkdSMQ8wDQYDVQQIDAZBdGhlbnMxDzANBgNV
BAcMBkF0aGVuczEOMAwGA1UECgwFVW5pd2ExCzAJBgNVBAsMAklUMRAwDgYDVQQD
DAdWYXNpbGlzMRUwEwYJKoZIhvcNAQkBFgZhQGEuZ3IwggIiMA0GCSqGSIb3DQEB
AQUAA4ICDwAwggIKAoICAQDHm7gDpfXlZSSUGLYLI776uQgRjTtTGHxC5VE7dsF1
b+mx6mgR+PbdOT6KPzYkQsaVMULHb40k3S+2mC01U3NQpQuk5LqrCVqZhLG8bdI9
2kkkL77TdUWdhcL2LqGHUGHnuIfm1J08fiNzqlU6XeC/C1/QfvrHGpfWE69Xdd/E
B0c/w70y7bXQsryRUpZVOCuD5APX7e68LtFVMSzGwamROuRE6afmG/CGE9BV13YB
94tIUzi+b7gDsu9vHo6CfHjahLMOLAXNqLaMEZ13AHe1pIH9GeyN8hbNYVGAaiYp
1vabg4WqtuAsOLmyfpN3txl7VsaIzdkZsyglzpxPGWXsqyWrbQZt+/xJPPc8zi0W
mLdyNGaV5/k3/0StEBJ/Hz+mcX4b3NnKnGIAm+5Ob2Sjw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4BxWg5puM
RWHqb4Mxw8EKl3HvXEm2sA2+3eLg1qF4/EK7dt5Wnd3kBdR3NpfcLvZFQ+4fodzz
wU3BavMJVWRbjGrzvhZs+tK1tpLGVSgt3U/jEfhMEabPAEwU3n4BOJHRZ1pE+iqN
sPy4wsTfsUWKJgmpnfQJqAbaPwVVC133vpXqn+qmj8DkvfWvTanV8v+of7RzIvvI
i2CrHeXp4OoVwdbessbvSw==
-----END ENCRYPTED PRIVATE KEY-----

116
reverse_proxy/nginx.conf

@ -0,0 +1,116 @@
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
#gzip on;
server {
listen 80;
server_name localhost;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
root html;
index index.html index.htm;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
# proxy_pass http://127.0.0.1;
#}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
#location ~ \.php$ {
# root html;
# fastcgi_pass 127.0.0.1:9000;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
# include fastcgi_params;
#}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}
# another virtual host using mix of IP-, name-, and port-based configuration
#
#server {
# listen 8000;
# listen somename:8080;
# server_name somename alias another.alias;
# location / {
# root html;
# index index.html index.htm;
# }
#}
HTTPS server
server {
listen 443 ssl;
server_name localhost;
ssl_certificate ./cert.pem;
ssl_certificate_key ./key.pem;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
root html;
index index.html index.htm;
}
}
}
Loading…
Cancel
Save