How to recover web interface via SSH ?
I uninstall nginx and with it web interface disappear too.
My firmware 4.1.0 release5.
How to recover web interface via SSH ?
I uninstall nginx and with it web interface disappear too.
My firmware 4.1.0 release5.
Maybe someone knows the name of the service responsible for the web interface?
I think you got rid of GL.iNet core component, NGINX is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server. So you need to replace it with something
You can Uboot back to a fresh install of 4.1.0 release5 ( I think release7 is out)
Thanks. I install back nginx but it doesn’t help probaly settings was removed too. I just don’t want update firmware via uboot. I’m trying return web ui via SSH.
Its part of a GL.iNet module. Firmware v4.0.3 stable:
https://fw.gl-inet.com/firmware/axt1800/release/openwrt-axt1800-4.0.3-0831.tar
I can’t remember what the github address it is : gl-inet-builder · GitHub
Sorry
nginx-ssl is the package installed not nginx
It is nginx settings in 4.1 firmware:
/etc/nginx/nginx.conf
user root;
worker_processes auto;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 0;
client_body_buffer_size 10K;
client_header_buffer_size 1k;
client_max_body_size 1G;
large_client_header_buffers 2 1k;
gzip_static on;
root /www;
include /etc/nginx/conf.d/*.conf;
}
/etc/nginx/conf.d/gl.conf
index gl_home.html;
lua_shared_dict shmem 12k;
lua_shared_dict nonces 16k;
lua_shared_dict sessions 16k;
lua_code_cache off;
init_by_lua_file /usr/share/gl-ngx/oui-init.lua;
server {
listen 80;
listen [::]:80;
listen 443 ssl;
listen [::]:443 ssl;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers "EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH:DHE+AESGCM:DHE:!RSA!aNULL:!eNULL:!LOW:!RC4:!3DES:!MD5:!EXP:!PSK:!SR P:!DSS:!CAMELLIA:!SEED";
ssl_session_tickets off;
ssl_certificate /etc/nginx/nginx.cer;
ssl_certificate_key /etc/nginx/nginx.key;
resolver 127.0.0.1;
location = /rpc {
content_by_lua_file /usr/share/gl-ngx/oui-rpc.lua;
}
location = /upload {
content_by_lua_file /usr/share/gl-ngx/oui-upload.lua;
}
location = /download {
content_by_lua_file /usr/share/gl-ngx/oui-download.lua;
}
location /cgi-bin/ {
include fastcgi_params;
fastcgi_read_timeout 300;
fastcgi_pass unix:/var/run/fcgiwrap.socket;
}
location ~.*\.(html|png|jpg|svg)$ {
add_header Cache-Control "private, no-store, no-cache, must-revalidate, proxy-revalidate";
}
include /etc/nginx/gl-conf.d/*.conf;
}
Update. I didn’t noticed that nginx-sll doesn’t install nginx without key --force-depends.
Now it works.
After insalling need to check is nginx running or not via command service nginx status.
Also my router is GL-AX1800 (Flint) I made mistake in topic