Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: Nginx as a Reverse Proxy for OpenVPN (TCP 443)

$
0
0
Hi, I am trying to setup nginx for both https and TCP application but it is not working, could you please check here what is wrong in my configuration.

server {

listen 443;
server_name nginx.external.pcpc.com;
ssl_password_file /etc/nginx/ssl/nginx.pass;
ssl_certificate /etc/nginx/ssl/external.pcpc.cert.txt;
ssl_certificate_key /etc/nginx/ssl/external.pcpc.pkey.txt;


ssl_session_cache builtin:1000 shared:SSL:10m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!DES:!MD5:!PSK:!RC4;
ssl_prefer_server_ciphers on;

access_log /var/log/nginx/jenkins.access.log;
location /service {
proxy_pass http://service.s3-website-us-east-1.amazonaws.com/service;
}

location / {
proxy_pass https://nginx-36775c5588ec6e89.elb.us-east-1.amazonaws.com;
proxy_ssl_session_reuse off;
proxy_ssl_server_name on;

}
}

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>