Compare commits

...

2 Commits

Author SHA1 Message Date
Johan
f0390d0ddf Update Node.JS documentation 2023-12-12 10:40:17 +01:00
Johan
fdcd7d8430 Add Apache documentation 2023-12-12 10:40:01 +01:00
2 changed files with 20 additions and 2 deletions

18
Apache.md Normal file
View 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>
```

View File

@ -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