server {
listen 443 ssl;
ssl_certificate /etc/ssl/certificate.crt;
ssl_certificate_key /etc/ssl/private.key;
server_name alltech.home.com;
location /v1/doit/completions {
proxy_ssl_server_name on;
proxy_pass https://api.open.my/v1/doit/completions;
}
location / {
root /usr/share/nginx/html/;
autoindex off;
}
}
location / {
root /usr/share/nginx/html/;
autoindex off;
}
location /v1/doit/completions {
proxy_pass https://api.open.my/v1/doit/completions;
}
# curl -v telnet://api.open.my:443
* Trying 114.18.7.192:443...
* Connected to api.open.my (114.18.7.192) port 443 (#0)
^C
kubectl create -f app.yaml
kubectl config set-context --current --namespace=devops-blog
nvidia-bug-report.sh nvidia-cuda-mps-control nvidia-cuda-mps-server nvidia-debugdump nvidia-modprobe nvidia-persistenced nvidia-smi nvidia-xconfig
options nvidia-modprobe NVreg_DeviceFileMode=0660 NVreg_ModifyDeviceFiles=1
mknod -m 750 /dev/nvidia${devid} c 195 ${devid} && chown :gpu_cuda /dev/nvidia${devid};
RUN rm /etc/apt/sources.list \
&& echo 'deb http://rero.ru/artifactory/debian-remote stretch main' >> /etc/apt/sources.list \
&& echo 'deb http://rero.ru/artifactory/debian-remote stretch-updates main' >> /etc/apt/sources.list \
&& echo 'deb http://rero.ru/artifactory/debian-security stretch/updates main' >> /etc/apt/sources.list \
&& echo "deb http://rero.ru/artifactory/nginx.org buster nginx" >> /etc/apt/sources.list \
&& apt-get update \
&& apt-get install -yy nginx uwsgi supervisor
#6 2.960 W: GPG error: http://rero.ru/artifactory/nginx.org buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ABF5BD8271231231BD9BF62
#6 2.960 E: The repository 'http://rero.ru/artifactory/nginx.org buster InRelease' is not signed.