/ ‘content/posts/cloud/20200624T220819+0900_retry/index.rst’
This commit is contained in:
parent
3548dd94e3
commit
1f5e3be761
1 changed files with 12 additions and 11 deletions
|
|
@ -12,22 +12,23 @@ cat /etc/hosts
|
|||
|
||||
----
|
||||
|
||||
| 127.0.0.1 localhost
|
||||
| 127.0.1.1 yunohost.yunohost.org yunohost
|
||||
|
|
||||
| # The following lines are desirable for IPv6 capable hosts
|
||||
| ::1 localhost ip6-localhost ip6-loopback
|
||||
| ff02::1 ip6-allnodes
|
||||
| ff02::2 ip6-allrouters
|
||||
| 192.168.1.150 nextcloud.local nextcloud
|
||||
| 192.168.1.110 nextcloudpi.local nextcloudpi
|
||||
|
|
||||
.. code-block:: text
|
||||
|
||||
127.0.0.1 localhost
|
||||
127.0.1.1 yunohost.yunohost.org yunohost
|
||||
|
||||
# The following lines are desirable for IPv6 capable hosts
|
||||
::1 localhost ip6-localhost ip6-loopback
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
||||
192.168.1.150 nextcloud.local nextcloud
|
||||
192.168.1.110 nextcloudpi.local nextcloudpi
|
||||
|
||||
cat /etc/nginx/conf.d/nopost.hopto.org.d/proxy.conf
|
||||
|
||||
----
|
||||
|
||||
| location / {
|
||||
location / {
|
||||
| proxy_pass https://192.168.1.110;
|
||||
| proxy_set_header Host $host;
|
||||
|
|
||||
|
|
|
|||
Loading…
Reference in a new issue