customize: static site #24

Open
opened 2026-04-29 21:30:34 +01:00 by forgejo-admin · 2 comments
  • nano docker/simplex/www/tos.html
html

<html>
<head><title>Simplex Terms of Service</title></head>
<body>
<h1>Terms of Service</h1>
<p>This Simplex server is....</p>
<p>There is no logging...</p>
<p>By using this server you accept the risk.</p>
</body>
</html>

  • Add the site directory to your nginx-proxy container:
services:
  nginx-proxy:
    image: nginxproxy/nginx-proxy
    volumes:
      - $HOME/docker/simplex/www:/var/opt/simplex/www:ro
- [ ] nano docker/simplex/www/tos.html ``` html <html> <head><title>Simplex Terms of Service</title></head> <body> <h1>Terms of Service</h1> <p>This Simplex server is....</p> <p>There is no logging...</p> <p>By using this server you accept the risk.</p> </body> </html> ``` - [x] Add the site directory to your nginx-proxy container: ``` services: nginx-proxy: image: nginxproxy/nginx-proxy volumes: - $HOME/docker/simplex/www:/var/opt/simplex/www:ro ```
Author
Owner
  • create file server page in grayscale
mkdir -p $HOME/docker/simplex/www/files

cp docker/simplex/www/index.html docker/simplex/www/files/index.html
nano docker/simplex/www/files/index.html

###
  <style>
    img[src*="logo"] {
      filter: grayscale(100%);
      opacity: 0.9;
    }
###

  • server static files
cd simplex/www/files/
wget https://cdn.nakamotoinstitute.org/docs/bitcoin.pdf

- [x] create file server page in grayscale ``` mkdir -p $HOME/docker/simplex/www/files cp docker/simplex/www/index.html docker/simplex/www/files/index.html nano docker/simplex/www/files/index.html ### <style> img[src*="logo"] { filter: grayscale(100%); opacity: 0.9; } ### ``` - [x] server static files ``` cd simplex/www/files/ wget https://cdn.nakamotoinstitute.org/docs/bitcoin.pdf ```
forgejo-admin changed title from test: static site with nginx to customize: static site 2026-05-09 20:46:07 +01:00
Author
Owner

file server page in grayscale resolved in d42de56672

file server page in grayscale resolved in d42de56672
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forgejo-admin/landing-page#24
No description provided.