Browse Source

htaccess

master
P.H. Vos 5 years ago
parent
commit
75f8c79a8d
  1. 17
      docs/docs/index.md

17
docs/docs/index.md

@ -189,6 +189,18 @@ php_value memory_limit 64M @@ -189,6 +189,18 @@ php_value memory_limit 64M
</IfModule>
```
Access
```
RewriteCond %{REQUEST_URI} ^(.*)?wp-login\.php(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$
RewriteCond %{REMOTE_ADDR} !^129\.125\.
RewriteCond %{REMOTE_ADDR} !^77\.43\.20\.
RewriteCond %{REMOTE_ADDR} !^10\.9\.
RewriteRule ^(.*)$ - [R=403,L]
```
## GIT
URL
@ -225,4 +237,7 @@ $ docker tag name:latest registry.webhosting.rug.nl/username/name:latest @@ -225,4 +237,7 @@ $ docker tag name:latest registry.webhosting.rug.nl/username/name:latest
$ docker push registry.webhosting.rug.nl/username/name:latest
```
docker run debug
```
$ docker run --rm -it -p "":80 registry.webhosting.rug.nl/username/name:latest
```

Loading…
Cancel
Save