NO web GUI

  • root@Nas:~# cat /etc/nginx/sites-available/openmediavault-webgui
    server {
    server_name openmediavault-webgui;
    root /var/www/openmediavault;
    index index.php;
    autoindex off;
    server_tokens off;
    sendfile on;
    large_client_header_buffers 4 32k;
    client_max_body_size 25M;
    error_log /var/log/nginx/openmediavault-webgui_error.log error;
    access_log /var/log/nginx/openmediavault-webgui_access.log combined;
    location /extjs/ {
    alias /usr/share/javascript/extjs4/;
    }
    location /images/ {
    alias /var/www/openmediavault/images/;
    }
    location ~ \.php$ {
    try_files $uri = 404;
    fastcgi_split_path_info ^(.+\.php)(/.+)$;
    fastcgi_pass unix:/var/run/php5-fpm-openmediavault-webgui.sock;
    fastcgi_index index.php;
    fastcgi_read_timeout 60s;
    include fastcgi_params;
    }
    listen [::]:80 default_server ipv6only=off;
    include /etc/nginx/openmediavault-webgui.d/*.conf;
    }
    root@Nas:~#

  • root@Nas:~# cat /etc/nginx/openmediavault-webgui.d/openmediavault-extplorer-site.conf
    location /extplorer/ {
    alias /usr/share/extplorer/;
    index index.php;
    location ~ \.php$ {
    fastcgi_split_path_info ^(.+\.php)(/.+)$;
    fastcgi_pass unix:/var/run/php5-fpm-openmediavault-extplorer.sock;
    fastcgi_index index.php;
    include fastcgi_params;
    }
    location = /extplorer/favicon.ico {
    log_not_found off;
    access_log off;
    }
    location = /extplorer/robots.txt {
    allow all;
    log_not_found off;
    access_log off;
    }
    location /extplorer/ {
    try_files $uri $uri/ /extplorer/index.php?$args;
    }
    location ~ /extplorer/\. {
    deny all;
    }
    location ~* /extplorer/(?:config)/.*\.php$ {
    deny all;
    }
    location ~* /extplorer/\.(js|css|png|jpg|jpeg|gif|ico)$ {
    expires max;
    log_not_found off;
    }
    }
    root@Nas:~#

  • Well i have tried to install joomla. that went fine but i couln't upload any files so i addjusted /etc/nginx/nginx.conf


    I have added a line:


    server {
    client_max_body_size 20M;
    }


    i removed these lines and nginx is starting and the webgui is online on port 80


    weird...

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!