Setting up DHCP with OVN

I’m trying to set up an environment similar to the one described here in which OVN will provide DHCP service to logical networks. I have a logical switch named `net0 with two ports: [[email protected] ~]# ovn-nbctl show [[email protected] ~]# ovn-nbctl show switch 0507d649-0730-4fdc-95cd-943b25e613ab (net0 port port2 addresses: [“c0:ff:ee:00:00:12 10.0.0.12”] port port1 addresses: [“c0:ff:ee:00:00:11 10.0.0.11”] Those…

Nginx Access-Control-Allow-Origin with proxy

I am having problems with Access-Control-Allow-Origin header. I have example.com for PHP website and node.example.com for nodejs application which listens port 4000. When I try to open WebSocket connection to node.example.com from example.com I get CORS error. If I use Nginx config below, add_header Access-Control-Allow-Origin “*”; location ~ ^/(chat|socket\.io) { proxy_pass https://127.0.0.1:4000; proxy_http_version 1.1; proxy_set_header…

aws ssm start-session .. AWS-StartPortForwardingSession .. hangs

I am trying to set up port forwarding between my local PC and an AWS EC2 based on the AWS SSM port forwarding article instance like this: aws ssm start-session –target i-0822c9a6c52ca7394 \ –document-name AWS-StartPortForwardingSession –parameters \ ‘{“portNumber”:[“55555″],”localPortNumber”:[“6666”]}’ I already use SSM to access the instance (using ssm-session) and have used it to start python…

apache2 and php7.X

Enabling php7.x under Ubuntu18 and apache2.4 gives some warnings: Considering dependency mpm_prefork for php7.3: Considering conflict mpm_event for mpm_prefork: Considering conflict mpm_worker for mpm_prefork: Module mpm_prefork already enabled Considering conflict php5 for php7.3: Enabling module php7.3. I have read about changing to mpm_event and php-fpm but implies convoluted manual configurations, far beyond the easiness of…