server { listen 8088 default_server; listen [::]:8088 default_server; server_name _; resolver 1.1.1.1; location / { proxy_pass $arg_url; add_header x-url $arg_url; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_cache_bypass $http_upgrade; proxy_read_timeout 86400; add_header Cache-control max-age=2592000; proxy_ssl_server_name on; proxy_ssl_verify off; } }