opened
Zeioth
username_0
Is it possible to edit NewTab.html, or include a local html file, so I can create my own starting page? I cannot locate NewTab.html in my firefox profile.
Question about NewTab Adapter
issue
created
Zeioth
username_0
I can confirm, serving the .html file with nginx worked! In case someone else need help in the future I did it like this, since I find docker is the most portable way to run a local server:

    # You basically copy local directories to docker with -v
    docker run --name nginx-devserver -d -v ~/workspaces/docker/nginx-devserver/nginx.conf:/etc/nginx/nginx.conf -v ~/.mozilla/startpage:/var/projects/startpage -p 8080:80 nginx

And the content of nginx.conf is

```
# Configured to run as a non root user as described in:
# https://hub.docker.com/_/nginx 

pid        /tmp/nginx.pid;

events {
  worker_connections  4096;  ## Default: 1024
}

http {
  include /etc/nginx/mime.types;
  client_body_temp_path /tmp/client_temp;
  proxy_temp_path       /tmp/proxy_temp_path;
  fastcgi_temp_path     /tmp/fastcgi_temp;
  uwsgi_temp_path       /tmp/uwsgi_temp;
  scgi_temp_path        /tmp/scgi_temp;


  # Everything you store in a directory under /var/projects will be served
  # Example: localhost:8080/mypage
  server {
    listen 80;
    listen [::]:80;
    server_name localhost;
    root /var/projects;

    # serve static files
    location ~* \.(css|js|gif|jpe?g|png)$ {
     # expires 168h;
    }
  }
}
```

That's all!
comment
closed
Zeioth
username_0
issue