This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| nginx reads the config from /etc/nginx/sites-enabled/ | |
| usually there are just links from /etc/nginx/sites-available. | |
| when generating certificates with certbot, choose 'webroot' option if there is a directory that is served. | |
| Cerbot will place the test files there - and will ask the disk location where the exposed dir is located like '/var/www' | |
| certbot generates certificates in /etc/letsencrypt/live/balamaci.eu/ | |
| and you need to reference them in nginx site config: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mvn archetype:generate \ | |
| -DarchetypeGroupId=org.codehaus.mojo.archetypes \ | |
| -DarchetypeArtifactId=pom-root \ | |
| -DgroupId=com.balamaci.reactive \ | |
| -DarchetypeVersion=RELEASE | |
| #cd inside created dir above | |
| mvn archetype:generate \ | |
| -DarchetypeGroupId=org.apache.maven.archetypes \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl --header "Content-Type: application/json" --request POST --data '{"username":"tyrion","password":"Tyrion Lanister"}' http://localhost:8080/users | jq |
OlderNewer