我有下面的configuration
location / { proxy_pass http://backend; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; }
但是,在应用程序的backend ,有一些使用http协议的path,一些使用httpspath。
我想设置nginx,以便它能正确转发,而不需要在nginx上设置ssl。
这可能吗?