luci.locations 506 B

12345678910111213141516171819202122
  1. location /luci {
  2. index index.html;
  3. include uwsgi_params;
  4. uwsgi_param SERVER_ADDR $server_addr;
  5. uwsgi_modifier1 9;
  6. uwsgi_pass unix:////var/run/luci-webui.socket;
  7. }
  8. location ~ /cgi-(backup|download|upload|exec) {
  9. include uwsgi_params;
  10. uwsgi_param SERVER_ADDR $server_addr;
  11. uwsgi_modifier1 9;
  12. uwsgi_pass unix:////var/run/luci-cgi_io.socket;
  13. }
  14. location /luci-static {
  15. }
  16. location /ubus {
  17. ubus_interpreter;
  18. ubus_socket_path /var/run/ubus.sock;
  19. ubus_parallel_req 2;
  20. }