- location /cgi-bin/luci {
- index index.html;
- include uwsgi_params;
- uwsgi_param SERVER_ADDR $server_addr;
- uwsgi_modifier1 9;
- uwsgi_pass unix:////var/run/luci-webui.socket;
- }
- location ~ /cgi-bin/cgi-(backup|download|upload|exec) {
- include uwsgi_params;
- uwsgi_param SERVER_ADDR $server_addr;
- uwsgi_modifier1 9;
- uwsgi_pass unix:////var/run/luci-cgi_io.socket;
- }
-
- location /luci-static {
- }
|