Compare commits
2 Commits
d42b1819cc
...
f0390d0ddf
Author | SHA1 | Date | |
---|---|---|---|
|
f0390d0ddf | ||
|
fdcd7d8430 |
18
Apache.md
Normal file
18
Apache.md
Normal file
@ -0,0 +1,18 @@
|
||||
# Apache
|
||||
|
||||
## vhost.conf
|
||||
|
||||
### Kräv inlogging för publika IP-adresser
|
||||
|
||||
```
|
||||
# Require all granted
|
||||
AuthType Basic
|
||||
AuthUserFile "/path/to/.htpasswd"
|
||||
AuthName "Protected Area"
|
||||
<RequireAny>
|
||||
Require ip 192.168.0.0/16
|
||||
Require ip 127.0.0.1/32
|
||||
Require valid-user
|
||||
</RequireAny>
|
||||
```
|
||||
|
@ -25,9 +25,9 @@ Sök efter uppdateringar för bara production
|
||||
|
||||
<pre><code>npm audit --production</code></pre>
|
||||
|
||||
### npm-check-updates
|
||||
### [npm-check-updates](https://github.com/raineorshine/npm-check-updates "npm-check-updates")
|
||||
|
||||
<code>ncu -u<code> uppdaterar bara package.json, kör därför <code>npm i</code> efteråt
|
||||
`ncu -u` uppdaterar bara package.json, kör därför `npm i` efteråt
|
||||
|
||||
<pre><code>npm install -g npm-check-updates
|
||||
ncu -u
|
||||
|
Loading…
x
Reference in New Issue
Block a user