blob: 0b9433903e3ce6da2398a3d1b3becd09476023eb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# WallHeaven
The best wallpaper proxy.
Might be endorsed by the pope!
## Instances
Please help by hosting your own instance!
| Name | Link |
| :------------------------------------ | :------------------------------------------------- |
| Squibid's instance (master) in the US | [wallheaven.squi.bid](https://wallheaven.squi.bid) |
## Install Instructions
### Nginx
1. git clone this repo into a path accessable by the user running nginx
2. put the config below into your /etc/nginx/sites-available
3. `ln -s /etc/nginx/sites-available/wallheaven /etc/nginx/sites-enabled/`
4. run `certbot --nginx` (make sure you have the nginx module installed)
5. restart the nginx service
```
server {
server_name example.com;
root /path/to/dir;
index index.php;
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
}
}
server {
listen 80;
server_name example.com;
}
```
#### Additional Notes
You will need to install fastcgi and php in order to run wallheaven
along with certbot and the required nginx module to get a SSL cert.
Good luck, and thanks for hosting an instance :).
## ToDo
- add a website icon
- make image embed better when sharing
## Known Bug(s) (I'm too lazy to fix these)
- Tags occasionally overflow onto the next line if hovered over
|