htaccess
This commit is contained in:
parent
d39a4e79b7
commit
75f8c79a8d
@ -189,6 +189,18 @@ php_value memory_limit 64M
|
|||||||
</IfModule>
|
</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
|
## GIT
|
||||||
|
|
||||||
URL
|
URL
|
||||||
@ -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 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…
Reference in New Issue
Block a user