Skip to content

npct/pct-lsoa-vis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pct-lsoa-vis

Script for generating the map tiles from a tiff

npttile

Used as our tileserver.

 apt install nginx
 apt remove nfs-kernel-server nfs-common rpcbind # remove NFS service, can be used in RPC attack
 apt remove exim4 # No need for a mail server
 /etc/init.d/exim4 stop

Then all the files are served from var/www/html

Copy of nginx config to /etc/nginx/sites-enabled/default

SSL

Basic copy of EFF certbot guide

wget https://dl.eff.org/certbot-auto
mv certbot-auto /usr/local/bin/certbot-auto
chown root /usr/local/bin/certbot-auto
chmod 0755 /usr/local/bin/certbot-auto
/usr/local/bin/certbot-auto --nginx

The crontab is:

19 1 * * * /usr/local/bin/certbot-auto renew >> /var/log/le-renew.log

About

Script for generating the map tiles from a tiff

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages