devilbox-php.ini-xdebug
This file holds some sane example configuration to get you started with Xdebug. Copy it (do not simply rename it) to a different file ending by .ini and start adjusting it.
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: nginx-ingress-controller
spec:
replicas: 1
revisionHistoryLimit: 3
template:
metadata:
labels:
app: nginx-ingress-lb
spec:
terminationGracePeriodSeconds: 60
serviceAccount: nginx
containers:
- name: nginx-ingress-controller
image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.9.0
imagePullPolicy: Always
readinessProbe:
httpGet:
path: /healthz
port: 10254
scheme: HTTP
livenessProbe:
httpGet:
path: /healthz
port: 10254
scheme: HTTP
initialDelaySeconds: 10
timeoutSeconds: 5
args:
- /nginx-ingress-controller
- --default-backend-service=$(POD_NAMESPACE)/default-backend
- --configmap=$(POD_NAMESPACE)/nginx-ingress-controller-conf
- --v=2
env:
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
ports:
- containerPort: 80
- containerPort: 18080
➜ ~ curl -v ladurbo.tk
* Trying 85.21.240.124:80...
* TCP_NODELAY set
* Connected to ladurbo.tk (85.21.240.124) port 80 (#0)
> GET / HTTP/1.1
> Host: ladurbo.tk
> User-Agent: curl/7.68.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 301 Moved Permanently
< Date: Sun, 06 Jun 2021 14:20:59 GMT
< Server: Apache/2.4.41 (Ubuntu)
< Location: https://ladurbo.tk/
< Content-Length: 303
< Content-Type: text/html; charset=iso-8859-1
<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://ladurbo.tk/">here</a>.</p>
<hr>
<address>Apache/2.4.41 (Ubuntu) Server at ladurbo.tk Port 80</address>
</body></html>
* Connection #0 to host ladurbo.tk left intact
➜ ~ curl -v https://ladurbo.tk
* Trying 85.21.240.124:443...
* TCP_NODELAY set