Answer the question
In order to leave comments, you need to log in
How to make https proxy for all sites in nginx?
what is
user www-data;
worker_processes 4;
pid /var/run/nginx.pid;
events {
worker_connections 768;
# multi_accept on;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server{
listen 80;
location / {
proxy_pass http://$http_host$request_uri;
proxy_set_header Host $http_host;
resolver 8.8.8.8;
}
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question