Skip to content

Commit

Permalink
Update nextcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
pippijn committed May 20, 2024
1 parent 5b97aa8 commit 66c7e52
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 61 deletions.
1 change: 1 addition & 0 deletions .config/home-manager/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ in {
rclone # sync with nextcloud
screen # terminal window manager
unison # sync with other machines
rxvt-unicode
];

# This value determines the Home Manager release that your
Expand Down
71 changes: 11 additions & 60 deletions code/kubes/ircd/net.xinutec.irc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,20 @@ spec:
ingressClassName: nginx
tls:
- hosts:
- xinutec.org
- irc.xinutec.net
secretName: irc-tls
rules:
- host: xinutec.org
http:
paths:
- path: /.well-known
pathType: Prefix
backend:
service:
name: certbot-forward
port:
number: 80
- host: irc.xinutec.net
http:
paths:
Expand All @@ -32,63 +43,3 @@ spec:
name: certbot-forward
port:
number: 80
#---
#apiVersion: apps/v1
#kind: Deployment
#metadata:
# namespace: ircd
# name: httpd-irc
#spec:
# selector:
# matchLabels:
# run: httpd-irc
# replicas: 2
# template:
# metadata:
# labels:
# run: httpd-irc
# spec:
# containers:
# - name: httpd-irc
# image: nginx
# ports:
# - containerPort: 80
#---
#apiVersion: v1
#kind: Service
#metadata:
# namespace: ircd
# name: httpd-irc
# labels:
# run: httpd-irc
#spec:
# ports:
# - port: 80
# protocol: TCP
# selector:
# run: httpd-irc
#---
#apiVersion: networking.k8s.io/v1
#kind: Ingress
#metadata:
# namespace: ircd
# name: irc-ingress
# annotations:
# cert-manager.io/cluster-issuer: "letsencrypt-staging"
#spec:
# ingressClassName: nginx
# tls:
# - hosts:
# - irc.xinutec.com
# secretName: irc-tls
# rules:
# - host: irc.xinutec.com
# http:
# paths:
# - path: /
# pathType: Prefix
# backend:
# service:
# name: httpd-irc
# port:
# number: 80
2 changes: 1 addition & 1 deletion code/kubes/nextcloud/nextcloud/nextcloud-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
name: nginx-config
containers:
- name: nextcloud
image: nextcloud:26.0.10-fpm-alpine
image: nextcloud:29.0.0-fpm-alpine
imagePullPolicy: Always
env:
- name: MYSQL_HOST
Expand Down
3 changes: 3 additions & 0 deletions code/kubes/nextcloud/nextcloud/nginx-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ data:
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
types {
application/javascript js mjs;
}
sendfile on;
#tcp_nopush on;
Expand Down

0 comments on commit 66c7e52

Please sign in to comment.