You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
684 B

  1. location /cgi-bin/luci {
  2. index index.html;
  3. uwsgi_param QUERY_STRING $query_string;
  4. uwsgi_param REQUEST_METHOD $request_method;
  5. uwsgi_param CONTENT_TYPE $content_type;
  6. uwsgi_param CONTENT_LENGTH $content_length if_not_empty;
  7. uwsgi_param REQUEST_URI $request_uri;
  8. uwsgi_param PATH_INFO $document_uri;
  9. uwsgi_param SERVER_PROTOCOL $server_protocol;
  10. uwsgi_param REMOTE_ADDR $remote_addr;
  11. uwsgi_param REMOTE_PORT $remote_port;
  12. uwsgi_param SERVER_ADDR $server_addr;
  13. uwsgi_param SERVER_PORT $server_port;
  14. uwsgi_param SERVER_NAME $server_name;
  15. uwsgi_modifier1 9;
  16. uwsgi_pass unix:////var/run/uwsgi.sock;
  17. }
  18. location /luci-static {
  19. }